topic
stringlengths
1
63
text
stringlengths
1
577k
hb_ZipFile()
Hello, Could it be possible that hb_ZipFile() is not working on 64-bits PC's?
hb_ZipFile()
Hi, ? HB_ZIPFILE( cZip , aFiles, 9 ) I use this and in my pc it works bye
hb_base64 link
Hi, im convert an old prg /mak to new fwh2206 and xharbour/bcc 32, and receive the error: Unresolved external : hb-fun_hb_base64decode from fivehx.lib, i have missing some lib in link file? is this a xharbour lib? very thanks
hb_base64 link
Please read buildx.bat in the samples folder and make sure to include all the libs contained therein, in your link script.
hb_base64 link
Hi Nages, thanks. i checked, all libs of buildx are in my mak, could you tell me which lib specifies this function uses? could it be a xharbour version error? compiling prg with fwh 20.02 works perfectly. thanks again
hb_base64 link
tip.lib for xHarbour
hb_base64 link
thanks, now work fine. I tried several times migrate to VS2022, read posts on the forum but I use a portable ssd, I need something like: VS2022/x32/bin/include/lib VS2022/x64/bin/include/lib I saw that vs2022 despite changing the directories, vs2022 community installs in programfiles, lots of directory and files , languages i don't use. there is no process like this? only the files necessary to fwh\harbour ? regards
hb_base64 link
I have been assiting recently to Enrico to get a reduced version of Visual Studio Community 2022 Going to ask him if he minds to share it... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
thanks. i try to make this, but have lots of directory, languages, extras... best regards
hb_base64 link
Yo lo tengo, dejenme ver donde lo pongo para que lo bajen.
hb_base64 link
[quote="carlos vargas":17yjd4rd]Yo lo tengo, dejenme ver donde lo pongo para que lo bajen.[/quote:17yjd4rd] Carlos, very thanks <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
hb_base64 link
[url:5hjh2muy]https&#58;//mega&#46;nz/file/eQcHlBjb#UTu1XjKJpfCwWr-7Kv3VdExsc86Qs2haXmgCCxZGBuM[/url:5hjh2muy]
hb_base64 link
es vc2022 32 y 64 bits, ver los archivos vc2022\myvar32.bat y vc2022\myvar64.bat, adecuar los path segun el lugar donde lo descompriman.
hb_base64 link
Thank you, I'll experiment with it.
hb_base64 link
[quote:2q80y3fl]@ECHO OFF CLS ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ECHO ³ FiveWin for Harbour 22.06 (VS32bits) Jun. 2022 Harbour development power ³Ü ECHO ³ (c) FiveTech 1993-2021 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß if A%1 == A GOTO :SINTAX if NOT EXIST %1.prg GOTO :NOEXIST if "%FWDIR%" == "" set FWDIR=d:\fwh if "%HBDIR%" == "" set HBDIR=d:\compiler\harbour set GT=gtgui set HDIRLIB=%HBDIR%\lib\win\msvc set VCDIR=d:\compiler\vc2022 set VCDIRBIN=%VCDIR%\bin32 set VCDIRLIB=%VCDIR%\lib\win32 ECHO Compiling... %HBDIR%\bin\32\harbour %1 /n /w /p /i%FWDIR%\include;%HBDIR%\include /d__FLAT__ %2 %3 > comp.log 2> warnings.log IF ERRORLEVEL 1 GOTO COMPILEERROR @type comp.log @type warnings.log %VCDIRBIN%\cl.exe -nologo -TC -W3 -c /GS- /I%VCDIR%\include /I%HBDIR%\include /GA %1.c IF ERRORLEVEL 1 GOTO COMPILEERROR IF EXIST %1.rc %VCDIRBIN%\rc -nologo -r -d__FLAT__ -I%VCDIR%\include %1 IF ERRORLEVEL 1 GOTO RESOURCESERROR echo %1.obj > msvc.tmp echo %FWDIR%\lib\fiveh32.lib >> msvc.tmp echo %FWDIR%\lib\fivehc32.lib >> msvc.tmp echo %FWDIR%\lib\hbhpdf32.lib >> msvc.tmp echo %FWDIR%\lib\libhpdf32.lib >> msvc.tmp echo %HDIRLIB%\hbrtl.lib >> msvc.tmp echo %HDIRLIB%\hbvm.lib >> msvc.tmp echo %HDIRLIB%\%GT%.lib >> msvc.tmp echo %HDIRLIB%\hblang.lib >> msvc.tmp echo %HDIRLIB%\hbmacro.lib >> msvc.tmp echo %HDIRLIB%\hbrdd.lib >> msvc.tmp echo %HDIRLIB%\rddntx.lib >> msvc.tmp echo %HDIRLIB%\rddcdx.lib >> msvc.tmp echo %HDIRLIB%\rddfpt.lib >> msvc.tmp echo %HDIRLIB%\hbsix.lib >> msvc.tmp echo %HDIRLIB%\hbdebug.lib >> msvc.tmp echo %HDIRLIB%\hbcommon.lib >> msvc.tmp echo %HDIRLIB%\hbpp.lib >> msvc.tmp echo %HDIRLIB%\hbcpage.lib >> msvc.tmp echo %HDIRLIB%\hbwin.lib >> msvc.tmp echo %HDIRLIB%\hbcplr.lib >> msvc.tmp echo %HDIRLIB%\hbpcre.lib >> msvc.tmp echo %HDIRLIB%\hbct.lib >> msvc.tmp echo %HDIRLIB%\xhb.lib >> msvc.tmp echo %HDIRLIB%\png.lib >> msvc.tmp echo %HDIRLIB%\hbzlib.lib >> msvc.tmp echo %HDIRLIB%\hbziparc.lib >> msvc.tmp echo %HDIRLIB%\hbmzip.lib >> msvc.tmp echo %HDIRLIB%\minizip.lib >> msvc.tmp echo %HDIRLIB%\hbtip.lib >> msvc.tmp echo %HDIRLIB%\hbzebra.lib >> msvc.tmp echo %HDIRLIB%\hbusrrdd.lib >> msvc.tmp rem Uncomment these two lines to use Advantage RDD rem echo %HDIRLIB%\rddads.lib >> msvc.tmp rem echo %HDIRLIB%\ace32.lib >> msvc.tmp echo %FWDIR%\lib\libmysql32.lib >> msvc.tmp echo kernel32.lib >> msvc.tmp echo user32.lib >> msvc.tmp echo gdi32.lib >> msvc.tmp echo winspool.lib >> msvc.tmp echo comctl32.lib >> msvc.tmp echo comdlg32.lib >> msvc.tmp echo advapi32.lib >> msvc.tmp echo shell32.lib >> msvc.tmp echo ole32.lib >> msvc.tmp echo oleaut32.lib >> msvc.tmp echo uuid.lib >> msvc.tmp echo odbc32.lib >> msvc.tmp echo odbccp32.lib >> msvc.tmp echo iphlpapi.lib >> msvc.tmp echo mpr.lib >> msvc.tmp echo version.lib >> msvc.tmp echo wsock32.lib >> msvc.tmp echo msimg32.lib >> msvc.tmp echo oledlg.lib >> msvc.tmp echo psapi.lib >> msvc.tmp echo gdiplus.lib >> msvc.tmp echo winmm.lib >> msvc.tmp echo vfw32.lib >> msvc.tmp echo runtimeobject.lib >> msvc.tmp echo ws2_32.lib >> msvc.tmp echo shlwapi.lib >> msvc.tmp echo strmiids.lib >> msvc.tmp IF EXIST %1.res echo %1.res >> msvc.tmp %VCDIRBIN%\link @msvc.tmp -nologo /SUBSYSTEM:windows /FORCE:multiple /NODEFAULTLIB:msvcrt /LIBPATH:%VCDIRLIB% IF ERRORLEVEL 1 GOTO LINKERROR rem borrando archivos temporales y ejecutando aplicacion ECHO * Delete temporal files * @del %1.c @del %1.obj @del %1.ppo @del warnings.log @del comp.log @del msvc.tmp ECHO * Application successfully built * %1 GOTO EXIT ECHO :COMPILEERROR @type comp.log @type warnings.log ECHO * Compiling errors * GOTO EXIT :RESOURCESERROR ECHO * Resources errors * GOTO EXIT :LINKERROR ECHO * Linking errors * GOTO EXIT :SINTAX ECHO SYNTAX: BuildH32 [Program] {-- No especifiques la extensión PRG ECHO {-- Don't specify .PRG extension GOTO EXIT :NOEXIST ECHO The specified PRG %1 does not exist :EXIT [/quote:2q80y3fl]
hb_base64 link
With Harbour no problem. With xHarbour I get the following error. Any ideas? [code=fw:2q5xjymy]<div class="fw" id="{CB}" style="font-family: monospace;">rdd.lib<span style="color: #000000;">&#40;</span>dbcmdx.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>ERTOOLS.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />ct.lib<span style="color: #000000;">&#40;</span>disk.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>OLDFUNC.obj<span style="color: #000000;">&#41;</span><br />LINK : <span style="color: #000000;">fatal</span> error LNK1104: <span style="color: #000000;">cannot</span> open file <span style="color: #ff0000;">'LIBC.lib'</span></div>[/code:2q5xjymy]
hb_base64 link
[quote="Enrico Maria Giordano":ve27bgb2]With Harbour no problem. With xHarbour I get the following error. Any ideas? [code=fw:ve27bgb2]<div class="fw" id="{CB}" style="font-family: monospace;">rdd.lib<span style="color: #000000;">&#40;</span>dbcmdx.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>ERTOOLS.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />ct.lib<span style="color: #000000;">&#40;</span>disk.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>OLDFUNC.obj<span style="color: #000000;">&#41;</span><br />LINK : <span style="color: #000000;">fatal</span> error LNK1104: <span style="color: #000000;">cannot</span> open file <span style="color: #ff0000;">'LIBC.lib'</span></div>[/code:ve27bgb2][/quote:ve27bgb2] Dear Enrico, We should rename DbPack(), LoadLibrary(), FreeLibrary() and GetVolInfo() in FWH. The problem is that LoadLibrary() and FreeLibrary() are used in many FWH places... not sure how much code we may break Regarding LIBC.lib I have no idea why is being requested to be linked. If you review all FWH\samples\build*.bat files you will see that we don't use it at all
hb_base64 link
One thing at a time. [code=fw:p191jhq9]<div class="fw" id="{CB}" style="font-family: monospace;">rdd.lib<span style="color: #000000;">&#40;</span>dbcmdx.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>ERTOOLS.obj<span style="color: #000000;">&#41;</span></div>[/code:p191jhq9] First, why ERTOOLS.PRG is included in the final EXE? Second, what is this for: [code=fw:p191jhq9]<div class="fw" id="{CB}" style="font-family: monospace;">*-- <span style="color: #00C800;">function</span> -----------------------------------------------------------------<br />* <span style="color: #0000ff;">Name</span>........: <span style="color: #000000;">DBPack</span><br />* Author......: <br /><span style="color: #000000;">*</span>-----------------------------------------------------------------------------<br /><br /><span style="color: #00C800;">function</span> DBPack<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;PACK<br /><br /><span style="color: #00C800;">return</span> .T.</div>[/code:p191jhq9]
hb_base64 link
Third, why is it not included when Harbour is used? Or at least, why is DBPACK not signaled as duplicate definition? EMG
hb_base64 link
Ok, I understood: the problem is in the xHarbour rdd.lib. But the real problem is the request for LIBC. Who are requesting it?
hb_base64 link
Dear Enrico, Have you tried using this flag: /NODEFAULTLIB:libc ? What do you get ?
hb_base64 link
Yes, of course. I get: [code=fw:c6q9e4i6]<div class="fw" id="{CB}" style="font-family: monospace;">rdd.lib<span style="color: #000000;">&#40;</span>dbcmdx.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_DBPACK already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>ERTOOLS.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_LOADLIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />rtl.lib<span style="color: #000000;">&#40;</span>dllcall.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_FREELIBRARY already defined in fivehcm.lib<span style="color: #000000;">&#40;</span>DLL.obj<span style="color: #000000;">&#41;</span><br />ct.lib<span style="color: #000000;">&#40;</span>disk.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2005: _HB_FUN_GETVOLINFO already defined in fivehmx.lib<span style="color: #000000;">&#40;</span>OLDFUNC.obj<span style="color: #000000;">&#41;</span><br />fivehmx.lib<span style="color: #000000;">&#40;</span>GETSYSIN.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetMonitorInfo referenced in <span style="color: #00C800;">function</span> _HB_FUN_MONITORINFOFROMRC<br />fivehmx.lib<span style="color: #000000;">&#40;</span>GETSYSIN.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _MonitorFromPoint referenced in <span style="color: #00C800;">function</span> _HB_FUN_MONITORINFOFROMRC<br />fivehmx.lib<span style="color: #000000;">&#40;</span>GETSYSIN.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _MonitorFromWindow referenced in <span style="color: #00C800;">function</span> _HB_FUN_MONITORINFOFROMRC<br />fivehcm.lib<span style="color: #000000;">&#40;</span>WINDOWS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _SetClassLongPtr referenced in <span style="color: #00C800;">function</span> _HB_FUN_SETCLASSLONG<br />fivehcm.lib<span style="color: #000000;">&#40;</span>WINDOWS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetClassLongPtr referenced in <span style="color: #00C800;">function</span> _HB_FUN_GETCLASSLONG<br />fivehcm.lib<span style="color: #000000;">&#40;</span>KEYBRD.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _SendInput referenced in <span style="color: #00C800;">function</span> _HB_FUN_SENDKEY<br />fivehcm.lib<span style="color: #000000;">&#40;</span>RIBBON.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _PrintWindow referenced in <span style="color: #00C800;">function</span> _ParentCapture<br />fivehcm.lib<span style="color: #000000;">&#40;</span>WNDPRINT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _PrintWindow<br />fivehcm.lib<span style="color: #000000;">&#40;</span>CTRL2CHR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetDCBrushColor referenced in <span style="color: #00C800;">function</span> _HB_FUN_CTRLGETBACKCOLOR<br />fivehcm.lib<span style="color: #000000;">&#40;</span>MENUDRAW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetMenuInfo referenced in <span style="color: #00C800;">function</span> _HB_FUN_HBMPBACK<br />fivehcm.lib<span style="color: #000000;">&#40;</span>MENUDRAW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _SetMenuInfo referenced in <span style="color: #00C800;">function</span> _hsetbmpback<br />fivehcm.lib<span style="color: #000000;">&#40;</span>MENUDRAW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetMenuBarInfo referenced in <span style="color: #00C800;">function</span> _HB_FUN_MINFOMIMENU<br />fivehcm.lib<span style="color: #000000;">&#40;</span>NONCLIENT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetComboBoxInfo referenced in <span style="color: #00C800;">function</span> _HB_FUN_HWNDCOMBO<br />fivehcm.lib<span style="color: #000000;">&#40;</span>NONCLIENT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _GetListBoxInfo referenced in <span style="color: #00C800;">function</span> _HB_FUN_NGETLISTBOXINFO</div>[/code:c6q9e4i6]
hb_base64 link
Please link user32.lib
hb_base64 link
Already linked.
hb_base64 link
Please note that there is no problem with MSC and xHarbour in console mode, only with FWH.
hb_base64 link
I just ask Mel to build xHarbour with MSC2022. I'll try it and let you know.
hb_base64 link
Dear Enrico, many thanks for all the tests and effort that you are doing
hb_base64 link
A question: why do we have to link xhb.lib with Harbour? What is it for? [code=fw:364x3vcs]<div class="fw" id="{CB}" style="font-family: monospace;">echo %HDIRLIB%\xhb.lib >> msvc.tmp</div>[/code:364x3vcs]
hb_base64 link
[quote="Enrico Maria Giordano":1ihzy55b]A question: why do we have to link xhb.lib with Harbour? What is it for? [code=fw:1ihzy55b]<div class="fw" id="{CB}" style="font-family: monospace;">echo %HDIRLIB%\xhb.lib >> msvc.tmp</div>[/code:1ihzy55b][/quote:1ihzy55b] Dear Enrico, That library implements some xHarbour functions [url:1ihzy55b]https&#58;//github&#46;com/harbour/core/tree/master/contrib/xhb[/url:1ihzy55b]
hb_base64 link
Yes, but why is it always needed? [code=fw:2b8pzd34]<div class="fw" id="{CB}" style="font-family: monospace;">fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">WINDOW</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_STRTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_STRTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRECSET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_STRTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">WINDOW</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTOSTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>IMGTXTIO.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTOSTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTOSTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PGSUPORT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTOSTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">WINDOW</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NOTIFY<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRECSET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALBLANK.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TARRDATA.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CTOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALBLANK.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HCLONE<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HCLONE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALBLANK.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALTOSTR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALBLANK.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSET<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSET<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSET<br />fiveh32.lib<span style="color: #000000;">&#40;</span>RTFBOX.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NUMTOHEX referenced in <span style="color: #00C800;">function</span> _HB_FUN_RTFBOX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALBLANK.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NUMTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>MSGBAR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NUMTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>BAR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NUMTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_NUMTOHEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRECSET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TOLEAUTO<br />fiveh32.lib<span style="color: #000000;">&#40;</span>HARBOUR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TOLEAUTO<br />fiveh32.lib<span style="color: #000000;">&#40;</span>OLEFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TOLEAUTO<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ACTIVEX.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TOLEAUTO<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TOLEAUTO<br />fiveh32.lib<span style="color: #000000;">&#40;</span>WEBAPP.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HASH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TGET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_DATETIME<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PRV2PDF.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_DATETIME<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_DATETIME<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALTOSTR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OCCURS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>FILENAME.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OCCURS<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OCCURS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TARRDATA.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OCCURS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VALTOSTR.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ANSITOWIDE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PRV2PDF.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ANSITOWIDE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TGDIPLUS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ANSITOWIDE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRICHED5.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ANSITOWIDE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PDMENU.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OS_ISWTSCLIENT<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">MENU</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_OS_ISWTSCLIENT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PGSUPORT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_FUNCPTR referenced in <span style="color: #00C800;">function</span> _HB_FUN_FWPG_GOTOKEYVAL<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">PRINTER</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_FUNCPTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>FWBARCOD.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_FUNCPTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>CHECKRES.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_FUNCPTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_FUNCPTR<br />fiveh32.lib<span style="color: #000000;">&#40;</span>IMGTXTIO.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTONUM<br />fiveh32.lib<span style="color: #000000;">&#40;</span>RTFBOX.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HEXTONUM<br />fiveh32.lib<span style="color: #000000;">&#40;</span>FWDECODE.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HHASKEY<br />fiveh32.lib<span style="color: #000000;">&#40;</span>FWDECODE.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_RASCAN<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSETCASEMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSETCASEMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSETCASEMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRECSET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HSETCASEMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HMERGE<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_DECODE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PGSUPORT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_DECODE<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_WILDMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TARRDATA.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_WILDMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TTOS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>PRV2PDF.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TTOS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TTOS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_TTOS<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">XBROWSE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ATSKIPSTRINGS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC1.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ATSKIPSTRINGS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_ATSKIPSTRINGS<br />fiveh32.lib<span style="color: #000000;">&#40;</span>VSTRFUN1.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HGETPAIRAT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>IMAGEB64.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_WIDETOANSI<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRICHED5.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_WIDETOANSI<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC1.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_VALTOPRGEXP<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_VALTOPRGEXP<br />fiveh32.lib<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">IMAGE</span>.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CREATEOBJECT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>OLEFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CREATEOBJECT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRICHED5.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_CREATEOBJECT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>OLEFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_GETACTIVEOBJECT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRICHED5.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_I18N<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DBFFUNC2.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_STOT<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_EXEC<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ADOFUNCS.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_REGEXREPLACE<br />fiveh32.lib<span style="color: #000000;">&#40;</span>DATAROW.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HB_ENUMINDEX<br />fiveh32.lib<span style="color: #000000;">&#40;</span>TRECSET.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_HGETCASEMATCH<br />fiveh32.lib<span style="color: #000000;">&#40;</span>ERFILE.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2001: <span style="color: #000000;">unresolved</span> external symbol _HB_FUN_MESSAGEBOX</div>[/code:2b8pzd34]
hb_base64 link
Dear Enrico, Could you please send me what you are testing, so we can test it here ? many thanks
hb_base64 link
Because we have used functions from it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
Are you using xHarbour functions from Harbour? Ok, but why? I don't understand.
hb_base64 link
Because they are usefull <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
Ok. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
Sorry, no, this is not ok: [code=fw:1dj122sp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">19</span>/<span style="color: #000000;">10</span>/<span style="color: #000000;">2020</span> &nbsp;<span style="color: #000000;">17</span>:<span style="color: #000000;">46</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">1.490</span><span style="color: #000000;">.370</span> xhb.lib</div>[/code:1dj122sp] Such a big lib for some useful function?
hb_base64 link
Going back to xHarbour problem, can I see how you are building fivehcm.lib?
hb_base64 link
Dear Enrico, fivehcm.lib is just for xHarbour commercial and we use VC98 to build it as it is the only MS C compiler which it is Pelles C compatible
hb_base64 link
Ok, this explains why it requires LIBC. So, which are the correct FWH libs for MSC 2022 and xHarbour?
hb_base64 link
You should fix your readme.txt: [code=fw:1c0kdkjs]<div class="fw" id="{CB}" style="font-family: monospace;">FWHX - FiveWin <span style="color: #00C800;">for</span> xHarbour<br /><br />&nbsp; &nbsp;* Borland BCC <span style="color: #000000;">5.82</span> version: <span style="color: #000000;">fivehx</span>.lib, fivehc.lib<br /><br />&nbsp; &nbsp;* Microsoft Visual C++ version: <span style="color: #000000;">fivehmx</span>.lib, fivehcm.lib</div>[/code:1c0kdkjs]
hb_base64 link
Dear Enrico, You are right. Many thanks for your feedback
hb_base64 link
Ok, but I still need to know: which are the correct FWH libs for MSC 2022 and xHarbour?
hb_base64 link
Dear Enrico, You can use the FWH C library for FWH and Harbour: fivehc32.lib
hb_base64 link
Sorry, same result. It is still requesting for LIBC. Of course, a new fivehmx.lib compiled with MSC2022 is also required. Can you build it for me?
hb_base64 link
What do you need exactly? I just use MSC2020, latest FWH and this xHarbour: [url:36at0ooh]http&#58;//www&#46;xharbour&#46;org/files/download/windows/xhb10264_msvc2017&#46;zip[/url:36at0ooh]
hb_base64 link
Dear Enrico, We have the problem that xHarbour provides a LoadLibrary() and FreeLibrary() from rtl.lib and Harbour does not How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
I just tried to recompile some of the FWH PRGs and then xHarbour works fine with MSC2022. So you only have to recompile all the FWH for xHarbour with MSC2022.
hb_base64 link
[quote="Antonio Linares":cjuocydw]Dear Enrico, We have the problem that xHarbour provides a LoadLibrary() and FreeLibrary() from rtl.lib and Harbour does not How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:cjuocydw] How did you solve it with BCC? I think you must do the same, or am I missing something?
hb_base64 link
Talking about xHarbour, we just need a recompiled FWH lib with PRGs (you can call it fivehx32.lib, if you like this name). There is no need for a new fivehc32.lib, it is fine for xHarbour too.
hb_base64 link
In harbour.prg there is this function only for xHarbour: [code=fw:33yac53v]<div class="fw" id="{CB}" style="font-family: monospace;">int _snprintf<span style="color: #000000;">&#40;</span> char * s, size_t n, const char * format, ... <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   <span style="color: #00C800;">return</span> hb_snprintf<span style="color: #000000;">&#40;</span> s, n, format <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:33yac53v] What is it for? It cannot be compiled with MSC2022: [code=fw:33yac53v]<div class="fw" id="{CB}" style="font-family: monospace;">harbour.prg<span style="color: #000000;">&#40;</span><span style="color: #000000;">383</span><span style="color: #000000;">&#41;</span>: <span style="color: #000000;">error</span> C2084: <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'int _snprintf(char *const ,const size_t,const char *const ,...)'</span> already has a body<br />e:\fw\temp\msc\include\ucrt\stdio.h<span style="color: #000000;">&#40;</span><span style="color: #000000;">1939</span><span style="color: #000000;">&#41;</span>: <span style="color: #000000;">note</span>: <span style="color: #000000;">see</span> previous definition <span style="color: #0000ff;">of</span> <span style="color: #ff0000;">'_snprintf'</span></div>[/code:33yac53v] Can you remove it?
hb_base64 link
[quote="Enrico Maria Giordano":2vkcdjbt][quote="Antonio Linares":2vkcdjbt]Dear Enrico, We have the problem that xHarbour provides a LoadLibrary() and FreeLibrary() from rtl.lib and Harbour does not How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:2vkcdjbt] How did you solve it with BCC? I think you must do the same, or am I missing something?[/quote:2vkcdjbt] Dear Enrico, The C compiler is not the issue. Harbour does not provide those functions, so FWH provides them. But xHarbour provides them and then we have duplicates in FWH. I guess we should move them into a PRG and don't include such PRG in FWH for xHarbour... but we use the same prgs.txt for all the makes...
hb_base64 link
Antonio, estas funciones LoadLibrary(), FreeLibrary(), DllCall/CallDll o de llamadas similares a funciones de dll (ahorta no recuerdo bien los nombres), al estar en xharbour y fwh complican la cosa! ya hace tiempo vi esto, y no logre encontrar una solución. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> unas retorna un puntero y otras numericos long. en fin complejo el asunto.
hb_base64 link
Try putting these parameters: [b:2mk4q68g]/FORCE:MULTIPLE[/b:2mk4q68g] SET HB_USER_LDFLAGS= /NODEFAULTLIB:msvcrt /MACHINE:X86 /nologo /subsystem:windows /INCREMENTAL:NO /ignore:4006 /MANIFEST:NO /FORCE:MULTIPLE
hb_base64 link
Dear Giovany, We don't want to use /FORCE:MULTIPLE thanks for the tip
hb_base64 link
[quote="Antonio Linares":1jqle4hv][quote="Enrico Maria Giordano":1jqle4hv][quote="Antonio Linares":1jqle4hv]Dear Enrico, We have the problem that xHarbour provides a LoadLibrary() and FreeLibrary() from rtl.lib and Harbour does not How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1jqle4hv] How did you solve it with BCC? I think you must do the same, or am I missing something?[/quote:1jqle4hv] Dear Enrico, The C compiler is not the issue. Harbour does not provide those functions, so FWH provides them. But xHarbour provides them and then we have duplicates in FWH. I guess we should move them into a PRG and don't include such PRG in FWH for xHarbour... but we use the same prgs.txt for all the makes...[/quote:1jqle4hv] You successfully built FWH for xHarbour and BCC, right? And it has no problem with LoadLibrary() and FreeLibrary. So why the same libs for MSC should have any problems? Anyway, (maybe there is something that I am missing) you can solve the problem with #ifdef __XHARBOUR__, can't you?
hb_base64 link
Please read the message about _snprintf(), please.
hb_base64 link
[quote="Enrico Maria Giordano":1asrk66d]Please read the message about _snprintf(), please.[/quote:1asrk66d] Dear Enrico, I already fixed it avoiding to include it when compiling with MSVC thank you
hb_base64 link
Dear Enrico, > you can solve the problem with #ifdef __XHARBOUR__, can't you? going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it
hb_base64 link
[quote="Antonio Linares":3citi04h][quote="Enrico Maria Giordano":3citi04h]Please read the message about _snprintf(), please.[/quote:3citi04h] Dear Enrico, I already fixed it avoiding to include it when compiling with MSVC thank you[/quote:3citi04h] Great, thank you! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_base64 link
[quote="Antonio Linares":2a44iwi7]Dear Enrico, > you can solve the problem with #ifdef __XHARBOUR__, can't you? going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it[/quote:2a44iwi7] I dont know...
hb_cdxIndexPageRead : Index Page Read Failed
Ocurre este error : hb_cdxIndexPageRead y no le veo a causa de qué ya que no ocurre en todas las computadoras. [url=http&#58;//imageshack&#46;us:6u45alh2][img:6u45alh2]http&#58;//img232&#46;imageshack&#46;us/img232/4556/error9zn&#46;jpg[/img:6u45alh2][/url:6u45alh2] Agradecería sus comentarios. Saludos Ricardo
hb_cdxIndexPageRead : Index Page Read Failed
Ricardo, Usas un build reciente de Harbour/xHarbour ? Has probado a reindexar ?
hb_cdxIndexPageRead: Read index page failed - FWH8.02 XHARB
what is this ??hb_cdxIndexPageRead: Read index page failed.xharb 1.1 + fwh 8.02 + CDXPRG:ANNOUNCE RDDSYS REQUEST OrdKeyNo, OrdKeyCount, OrdKeyGoto REQUEST DBFCDX, DBFFPTFUNCTION MAIN()RddSetDefault("DBFCDX")...
hb_cdxIndexPageRead: Read index page failed - FWH8.02 XHARB
You should ask to comp.lang.xharbour.EMG
hb_cdxIndexPageRead: Read index page failed - FWH8.02 XHARB
Enrico, not speek .. speek espanhol?comp.lang.xharbour. ?????Help-me!
hb_cdxIndexPageRead: Read index page failed - FWH8.02 XHARB
comp.lang.xharbour is the official xHarbour newsgroup. Index problems are eventually related to the xHarbour compiler not to FWH library.EMG
hb_cdxIndexPageRead: Read index page failed - FWH8.02 XHARB
OK
hb_cdxIndexPageRead: Read index page failed ???
Amigos, que erro é esse:hb_cdxIndexPageRead: Read index page failed.xharbour 1.1.0
hb_cdxIndexPageRead: Read index page failed ???
VOCE ESQUECEU DE DECLARAR OS CAMPOS FIELDS PARA O SEU INDEXADOR OU NÃO DESTRUIU OS ARQUIVOS.CDX.TENTE DE NOVO.USE CLIENTESINDEX ON FIELD->CODIGO ....OU FIELD CODIGO, NOME, ENDERECO, BAIRRO....
hb_cdxIndexPageRead: Read index page failed ???
Obrigado amigão
hb_cdxPageSeekKey
Hello, I am trying to read and write information to a xBase++ database (RDD=FOXCDX) application from my xHarbour/FWH application. However, I continue to receive the following error = hb_cdxPageSeekKey - wrong parent key. What can I do to eliminate the error. How can I change the xBase++ application to DBFCDX so the memo fields are read properly? I tried to change the xBase++ before but had problems with the memo fields not reading properly when using DBFCDX. Thank you in advance for your help! Sincerely,
hb_cdxPageSeekKey
Darrell, I forward your question to the [x]Harbour RDD's guru Przemek I will let you know what he says
hb_cdxPageSeekKey
Thank you Antonio
hb_cdxPageSeekKey
Antonio, I am try to build the search keys using xHarbour. Will the xBase++ corrupt the keys when writing to the database and index files?
hb_cdxPageSeekKey
Darrell, I can't say it for sure, but its a good practise not to use different RDD engines even if they are supossedly compatibles
hb_cdxPageSeekKey
Antonio, I added the following code to the xBase++ dbesys after the DbeBuild( 'FOXCDX', 'FOXDBE', 'CDXDBE' ) function DbeInfo( COMPONENT_DATA, FOXDBE_CREATE_2X, .T. ) DbeInfo( COMPONENT_DATA, FOXDBE_LOCKMODE, FOXDBE_LOCKMODE_2X ) And the application seems to working ok and we have not received any error messages. Regards,
hb_cdxPageSeekKey
Excellent! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hb_cdxPageSeekKey
Hi All, I have been experiencing the same error mentioned in this topic as well as another: hb_cdxPageSeekKey: wrong parent key hb_cdxIndexPageRead: read index page failed I am using latest xHarbour.com release and Fivewin 7.05 reading\writing to standard DBF files using DBFCDX. When one of these errors occurs it has the effect of writing zeroes to the DBF where I would expect a normal number (e.g. 176547). This number is part of an index so obviousy I get data integrity errors from here on in! I'm trying to find out some more information about where the error occurs, but in the meantime I'm not really sure where to start looking so any suggestions gratefully received! Kind regards, Barry
hb_cdxPageSeekKey
Barry, Are you also accessing the DBF from XBase++ besides xHarbour ?
hb_cdxPageSeekKey
Hi Antonio, No I am only accessing the DBF via xHarbour. Kind Regards, Barry
hb_cdxPageSeekKey
Barry, Then if you are using the latest xHarbour.com release, you should report it to xHarbour.com as it seems a RDD issue FWH does not modify or interfere in the RDD activity
hb_cdxPageSeekKey
Thanks Antonio, When I get an answer from xHarbour.com I will post it here in case it can help anyone else in future. Kind regards, Barry
hb_cdxPageSeekKey
Barry, many thanks!
hb_cdxPageSeekKey how to intercept this error
Hi to all! I'd like to intercept this error (see subject) in fact it is different from other kinds of error that I find in error.log. I have a question: How can I create a little prg that during execution go into this error in order to study the way to intercept it and for instance perform a reindex or simply try write a personlized error.log? it's painful when it happens marco
hb_cdxPageSeekKey how to intercept this error
Would it be possible for you to attach the error obtained in this topic?
hb_cdxPageSeekKey how to intercept this error
no the error is a dialog When I close the dialog the program stops to run ad no trace remains
hb_cdxPageSeekKey how to intercept this error
Dear Marco, try to reindex You can always use a modified error handler: SetErrorhandler( { | oError | ... } )
hb_cdxPageSeekKey how to intercept this error
Show how you INDEX and OPENING the.CDX FILES, please. Muestre cómo está INDEXANDO y ABRIENDO los ARCHIVOS.CDX, por favor. Gracias, thanks. Regards, saludos.
hb_cdxPageSeekKey how to intercept this error
Dear all, I open as usual dbf and cdx SELECT 0 USE customer SET INDEX TO customer it rarely happens but when it happens a visual dialog opens even if the program is a console type and there is no way for me to understand procname() procline and table For this reason, how can I simulate with an ad hoc program a corruption of an index that sends the program into that error? When one of my programs goes into error I usually read customized error files and I can often manage the error automatically. But this error is blocking and when I open the dialog I don't know anything about what happened Have a nice day Marco
hb_cdxPageSeekKey how to intercept this error
Hi, 1st. Please show your hb_out.log last trace error 2st. My index corrupted test, used at init critical processes To use: lCompruebaIndice("Customer") [code=fw:1bkwsl4g]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//-------------------------------------------------------------------------//</span><br /><span style="color: #B900B9;">// Poner este control antes de empezar los procesos.</span><br /><span style="color: #00C800;">FUNCTION</span> lCompruebaIndiceTabla<span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> a:= SEntorno<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span>cAlias<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> nI<br /><span style="color: #00C800;">Local</span> lOk:= .t.<br /><span style="color: #00C800;">Local</span> cOrdKey, cIndexKey, lClave, bIndexKey<br /><span style="color: #00C800;">Local</span> nJ, nFCount<br /><span style="color: #00C800;">Local</span> oRet &nbsp; &nbsp; &nbsp; &nbsp;<br />*<br /><span style="color: #00C800;">IF</span> Empty<span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;MERROR_<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Necesario el alias !!"</span>, cAlias<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">RETURN</span> .F.<br /><span style="color: #00C800;">ENDIF</span><br />*<br />*<br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nFCount:= FCount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;bIndexKey:= bCOMPILA<span style="color: #000000;">&#40;</span> IndexKey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;*<br />&nbsp; &nbsp;<span style="color: #B900B9;">// Comprueba 2 registros: uno nuevo y uno existente.</span><br />&nbsp; &nbsp;Add_Rec<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">FOR</span> nI:= <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">2</span><br /><br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// PRIMERO. Comprueba que las operaciones de a¤adir y replace funcionen</span><br />&nbsp; &nbsp; &nbsp; Rec_Lock<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">FOR</span> nJ:= <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #0000ff;">Min</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">6</span>, nFCount<span style="color: #000000;">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FieldPut<span style="color: #000000;">&#40;</span>nJ, FieldGet<span style="color: #000000;">&#40;</span>nJ<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COMMIT<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> nI == <span style="color: #000000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DELETE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; UNLOCK<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// SEGUNDO. Comprueba que la clave se corresponda</span><br />&nbsp; &nbsp; &nbsp; cOrdKey:= OrdKeyVal<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cIndexKey:= <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp; &nbsp; lClave:= cOrdKey != <span style="color: #00C800;">NIL</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> lClave<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cIndexKey:= Eval<span style="color: #000000;">&#40;</span>bIndexKey<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// El left para por las claves</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// super grandes y el maximo es 250.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> ValType<span style="color: #000000;">&#40;</span>cOrdKey<span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"C"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> Len<span style="color: #000000;">&#40;</span>cIndexKey<span style="color: #000000;">&#41;</span> >= <span style="color: #000000;">250</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lClave:= <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span>cIndexKey, Len<span style="color: #000000;">&#40;</span>cOrdKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> == cOrdKey<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lClave:= cIndexKey == cOrdKey<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lClave:= cIndexKey == cOrdKey<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !lClave<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lOk:= .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EXIT<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; *<br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Compruebo un registro con datos de los ultimos</span><br />&nbsp; &nbsp; &nbsp; SKIP <span style="color: #000000;">-5</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> Bof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EXIT<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;<span style="color: #00C800;">NEXT</span><br />&nbsp; &nbsp;*<br />&nbsp; &nbsp;<span style="color: #B900B9;">// Comprueba con SEEK todos los indices del alias actual</span><br />&nbsp; &nbsp;oRet:= oCompruebaIndicesYClaves<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !oRet:<span style="color: #000000;">lOk</span><br />&nbsp; &nbsp; &nbsp; lOk:= .f.<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;*<br /><br />*<br />*<br />REntorno<span style="color: #000000;">&#40;</span>a<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> lOk<br />*<br />*<br /><span style="color: #B900B9;">//-------------------------------------------------------------------------//</span><br /><span style="color: #B900B9;">// Esto puede dar positivo (error) en un entorno compartido donde</span><br /><span style="color: #B900B9;">// otros usuarios estan añadiendo registros en el momento de comprobar,</span><br /><span style="color: #B900B9;">// especialmente si otro usuario esta añadiendo registros masivamente</span><br /><span style="color: #00C800;">STATIC</span> <span style="color: #00C800;">FUNCTION</span> oCompruebaIndicesYClaves<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> cAlias:= <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> a:= SEntorno<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span>cAlias<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> nItem, nJ<br /><span style="color: #00C800;">Local</span> xClave<br /><span style="color: #00C800;">Local</span> lOk:= .t.<br /><span style="color: #00C800;">Local</span> nSitio<br /><span style="color: #00C800;">Local</span> oRet<br />*<br /><span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">&#40;</span>cAlias<span style="color: #000000;">&#41;</span><br />*<br /><span style="color: #00C800;">FOR</span> nItem:= <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">40</span> &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// H-V</span><br />&nbsp; &nbsp;SET ORDER <span style="color: #0000ff;">TO</span> <span style="color: #000000;">&#40;</span>nItem<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> IndexOrd<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> != nItem<br />&nbsp; &nbsp; &nbsp; EXIT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// No hay mas indices</span><br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp;*<br />&nbsp; &nbsp;GO BOTTOM<br />&nbsp; &nbsp;SKIP <span style="color: #000000;">-20</span> &nbsp; &nbsp; <span style="color: #B900B9;">// Comprueba los ultimos 20 registros</span><br />&nbsp; &nbsp;<span style="color: #00C800;">DO</span> <span style="color: #00C800;">WHILE</span> !Eof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; nSitio:= Recno<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; xClave:= & <span style="color: #000000;">&#40;</span> IndexKey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; SEEK xClave &nbsp;<span style="color: #B900B9;">// Debe encontrar la clave actual o una anterior igual</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> Eof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lOk:= .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EXIT<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp; GO nSitio<br />&nbsp; &nbsp; &nbsp; SKIP<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDDO</span><br />&nbsp; &nbsp;*<br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> !lOk<br />&nbsp; &nbsp; &nbsp; FLOGMSG_<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Error !! Indice incorrecto !!"</span>, <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, dbInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span>, IndexKey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>, IndexOrd<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, OrdBagName<span style="color: #000000;">&#40;</span>nItem<span style="color: #000000;">&#41;</span>, OrdName<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, xClave<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; EXIT<br />&nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">NEXT</span><br />*<br />oRet:= ClassVarRapida<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#123;</span><span style="color: #ff0000;">"lOk"</span>, <span style="color: #ff0000;">"cAlias"</span>, <span style="color: #ff0000;">"cFullFile"</span>, <span style="color: #ff0000;">"cIndexKey"</span>, <span style="color: #ff0000;">"xClave"</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br />oRet:<span style="color: #000000;">lOk</span>:= lOk<br />oRet:<span style="color: #000000;">cAlias</span>:= <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />oRet:<span style="color: #000000;">cFullFile</span>:= dbInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">IF</span> !lOk<br />&nbsp; &nbsp;oRet:<span style="color: #000000;">cIndexKey</span>:= IndexKey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oRet:<span style="color: #000000;">xClave</span>:= xClave<br /><span style="color: #00C800;">ENDIF</span><br />*<br />REntorno<span style="color: #000000;">&#40;</span>a<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> oRet<br />*<br />*</div>[/code:1bkwsl4g] Regards
hb_cdxPageSeekKey how to intercept this error
I don't have hb_out.log Im' sorry will there be a way to simulate and fail with that type of error? and then because a dialog appears even if the program is console program
hb_cdxPageSeekKey how to intercept this error
Dear Marco, In Harbour source code we have this: [code=fw:3hs9fd7y]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! fLeaf <span style="color: #000000;">&#41;</span><br />   <span style="color: #000000;">&#123;</span><br />      hb_cdxPageGetChild<span style="color: #000000;">&#40;</span> pPage <span style="color: #000000;">&#41;</span>;<br />#ifdef HB_CDX_DBGCODE<br />      <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> memcmp<span style="color: #000000;">&#40;</span> hb_cdxPageGetKeyVal<span style="color: #000000;">&#40;</span> pPage, pPage->iCurKey <span style="color: #000000;">&#41;</span>,<br />                  hb_cdxPageGetKeyVal<span style="color: #000000;">&#40;</span> pPage->Child, pPage->Child->iKeys - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>,<br />                  pPage->TagParent->uiLen <span style="color: #000000;">&#41;</span> != <span style="color: #000000;">0</span> ||<br />          hb_cdxPageGetKeyRec<span style="color: #000000;">&#40;</span> pPage, pPage->iCurKey <span style="color: #000000;">&#41;</span> !=<br />          hb_cdxPageGetKeyRec<span style="color: #000000;">&#40;</span> pPage->Child, pPage->Child->iKeys - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />      <span style="color: #000000;">&#123;</span><br />         fprintf<span style="color: #000000;">&#40;</span> stderr, <span style="color: #ff0000;">"<span style="color: #000000;">\r</span><span style="color: #000000;">\n</span>keyLen=%u"</span>, pPage->TagParent->uiLen <span style="color: #000000;">&#41;</span>;<br />         fprintf<span style="color: #000000;">&#40;</span> stderr, <span style="color: #ff0000;">"<span style="color: #000000;">\r</span><span style="color: #000000;">\n</span>parent=%lx, iKey=%d, rec=%lu"</span>, pPage->Page, pPage->iCurKey, hb_cdxPageGetKeyRec<span style="color: #000000;">&#40;</span> pPage, pPage->iCurKey <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />         fprintf<span style="color: #000000;">&#40;</span> stderr, <span style="color: #ff0000;">"<span style="color: #000000;">\r</span><span style="color: #000000;">\n</span> child=%lx, iKey=%d, rec=%lu"</span>, pPage->Child->Page, pPage->Child->iKeys - <span style="color: #000000;">1</span>, hb_cdxPageGetKeyRec<span style="color: #000000;">&#40;</span> pPage->Child, pPage->Child->iKeys - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />         fprintf<span style="color: #000000;">&#40;</span> stderr, <span style="color: #ff0000;">"<span style="color: #000000;">\r</span><span style="color: #000000;">\n</span>parent val=[%s]"</span>, hb_cdxPageGetKeyVal<span style="color: #000000;">&#40;</span> pPage, pPage->iCurKey <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />         fprintf<span style="color: #000000;">&#40;</span> stderr, <span style="color: #ff0000;">"<span style="color: #000000;">\r</span><span style="color: #000000;">\n</span> child val=[%s]"</span>, hb_cdxPageGetKeyVal<span style="color: #000000;">&#40;</span> pPage->Child, pPage->Child->iKeys - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />         fflush<span style="color: #000000;">&#40;</span> stderr <span style="color: #000000;">&#41;</span>;<br />         hb_cdxErrInternal<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"hb_cdxPageSeekKey: wrong parent key."</span> <span style="color: #000000;">&#41;</span>;<br />      <span style="color: #000000;">&#125;</span><br />#endif<br />      k = hb_cdxPageSeekKey<span style="color: #000000;">&#40;</span> pPage->Child, pKey, ulKeyRec <span style="color: #000000;">&#41;</span>;<br />   <span style="color: #000000;">&#125;</span><br /> </div>[/code:3hs9fd7y] and hb_cdxErrInternal() has this code: [code=fw:3hs9fd7y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> void hb_cdxErrInternal<span style="color: #000000;">&#40;</span> const char * szMsg <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   hb_errInternal<span style="color: #000000;">&#40;</span> <span style="color: #000000;">9201</span>, szMsg ? szMsg : <span style="color: #ff0000;">"hb_cdxErrInternal: data integrity error."</span>, <span style="color: #00C800;">NULL</span>, <span style="color: #00C800;">NULL</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /> </div>[/code:3hs9fd7y] You can modify it to force the error. What exactly is what you want to avoid ? Please provide a screenshot
hb_cdxPageSeekKey how to intercept this error
Antonio, next time it happens I provide screenshot. 1) I create a screenshot 1) I save dbf+fpt+cdx 2) reindex 4) restart app 5) post in this forum the screenshot Many thanks to all
hb_cdxPageSeekKey: wrong parent key.
Hello, A customer is experience this error from this morning on al PC's on there network. They are working a long time without receiving this error.I didn't change anything to the program. What can be the problem? Regards, Marc
hb_cdxPageSeekKey: wrong parent key.
Marc This type of error results from a bad index i suggest you [u:1e8atsua]delete the index file [/u:1e8atsua]and recreate it HTH Richard
hb_compileBuf() for xHarbour?
Does this function exists? If not, can it be done? If you give me some suggests I can try to do it... but I need a starting point for my studies. Regards, Roberto Parisi
hb_compileBuf() for xHarbour?
Please see this thread <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=8680&p=40875&hilit=compilebuf#p40875">viewtopic.php?f=3&t=8680&p=40875&hilit=compilebuf#p40875</a><!-- l -->
hb_crypt and hb_decrypt problem
I am getting the desired output as per your sample ie when I decrypt the result is @Selva123 [code=fw:38etd4ml]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />    ? hb_crypt<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@Selva123"</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span><br /><br />    ? hb_decrypt<span style="color: #000000;">&#40;</span>hb_crypt<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@Selva123"</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span></div>[/code:38etd4ml] If you are writing the encrypted value to some file and then later trying to decrypt the value then please try StrToHex() and HexToStr()
hb_crypt and hb_decrypt problem
[quote="anserkk":3cqb3yr3]I am getting the desired output as per your sample ie when I decrypt the result is @Selva123 [code=fw:3cqb3yr3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />    ? hb_crypt<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@Selva123"</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span><br /><br />    ? hb_decrypt<span style="color: #000000;">&#40;</span>hb_crypt<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"@Selva123"</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span>,<span style="color: #ff0000;">"LVLVDTWRQHVYCDTP"</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">NIL</span></div>[/code:3cqb3yr3] If you are writing the encrypted value to some file and then later trying to decrypt the value then please try StrToHex() and HexToStr()[/quote:3cqb3yr3]Thank you my friend! In fact I’m saving it in a MariaDB table as a LONGBLOB column. Do I need to use strtohex and hextostr to store it properly? And which one do I have to use to save and to retrieve the content? Enviado do meu iPhone usando Tapatalk
hb_crypt and hb_decrypt problem
In case you are using built-in FWH MariaDB/MySql library, you need not worry about it. The library automatically takes care of the conversions. Example Usage: [code=fw:11dbfojq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">photo</span> := MEMOREAD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"photo.jpg"</span> <span style="color: #000000;">&#41;</span><br />oRs:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:11dbfojq] Without opening the table as rowset: [code=fw:11dbfojq]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCn:<span style="color: #000000;">Insert</span><span style="color: #000000;">&#40;</span> cTable, <span style="color: #ff0000;">"NAME,PHOTO"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Albert"</span>, MEMOREAD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"albert.jpg"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">// OR</span><br />oCn:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span> cTable, <span style="color: #ff0000;">"PHOTO"</span>, <span style="color: #000000;">&#123;</span> MEMOREAD<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"newphoto.jpg"</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>, <span style="color: #ff0000;">"ID=230"</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:11dbfojq] If you use any other library or want to write your own SQL statements to insert or update a table use "0x" + STRTOHEX( MEMOREAD( cFile ) ), without enclosing in quotes. You can also use FW_ValToSQL( cBinaryText, .t., "MYSQL" ) Note: The conversion is different for different databases. FW_ValToSQL takes care of this.