Hi all:
I´m very new to Harbour.
I´m trying to get Harbour with Windock working, and after some time
discovering which libs to link, I drilled down my link errors to the
following two:
make -C adressen 'COMP=msvc'
E:\windock\wd-wdtk-bin\wdtk\examples\make.exe[1]: Entering directory
`E:/windock/wd-wdtk-bin/wdtk/examples/adressen'
link /nologo /force:multiple /subsystem:WINDOWS
/nodefaultlib:libc.lib -LIBPATH:../../lib -LIBPATH:E:\\harbour\\msvc/lib -LIBPATH:e:/sdk/lib
-out:msvc_adr.exe wdinit.obj bin.msvc/adressen.obj bin.msvc/adrdlg.obj
adressen.res wdtk.lib windock.lib debug.lib vm.lib rtl.lib gtwin.lib
lang.lib rdd.lib vm.lib macro.lib pp.lib dbfntx.lib dbfcdx.lib dbfdbt.lib
common.lib codepage.lib mpr.lib comdlg32.lib shell32.lib user32.lib
gdi32.lib winmm.lib advapi32.lib winspool.lib libcmt.lib ole32.lib
oleaut32.lib
rtl.lib(win32ole.obj) : warning LNK4006: "void __cdecl
HB_FUN_MESSAGEBOX(void)" (?HB_FUN_MESSAGEBOX@@YAXXZ) already defined in
windock.lib(user.obj); second definition ignored
wdtk.lib(stfkt.obj) : error LNK2001: unresolved external symbol "void
__cdecl HB_FUN_NUMTOKEN(void)" (?HB_FUN_NUMTOKEN@@YAXXZ)
wdtk.lib(nettable.obj) : error LNK2001: unresolved external symbol "void
__cdecl HB_FUN_NUMTOKEN(void)" (?HB_FUN_NUMTOKEN@@YAXXZ)
windock.lib(sys.obj) : error LNK2019: unresolved external symbol "void *
hb_hInstance" (?hb_hInstance@@3PAXA) referenced in function "void __cdecl
HB_FUN_GETINSTANCE(void)" (?HB_FUN_GETINSTANCE@@YAXXZ)
msvc_adr.exe : fatal error LNK1120: 2 unresolved externals
E:\windock\wd-wdtk-bin\wdtk\examples\make.exe[1]: Leaving directory
`E:/windock/wd-wdtk-bin/wdtk/examples/adressen'
Can somebody please tell me which lib I´m linking in to get those symbols
resolved?
TIA, Jan Sperling
_____________________________
Jan Sperling Frischmuth
Presidente,
Sperling Consultoría Informática S.A.
Tels:
(506)2225-9667, (506)2225-9219
(506)2253-2473, (506)2253-2460
Fax: (506)2281-3739
Cel: (506)8381-1488
email: [EMAIL PROTECTED], [EMAIL PROTECTED]
----- Original Message -----
From: Przemyslaw Czerpak
To: Harbour Project Main Developer List.
Sent: Friday, July 25, 2008 4:29 AM
Subject: Re: [Harbour] DBFCDX and OrdCustom()
On Fri, 25 Jul 2008, Alex Strickland wrote:
Hi Alex,
I wondered if you had seen this message :
http://groups.google.com/group/comp.lang.xharbour/browse_thread/thread/7aa2ef0f105876e8#
Yes, I did.
which points towards a small bug?
Just check it with CL53. In CDX is conversion to custom is not
revertable and this is replicated in Harbour. It's only logical
flag and can be easy removed if you do not like it. It's enogh
to delete from dbfcdx1.c[8261] this lines:
/* This is a hacks to emulate both SIX3 and COMIX behavior
* which should be cleaned. I intentionally not used
* HB_SIXCDX macro here [druzus]
*/
if( pTag->Custom )
pTag->Template = pTag->MultiKey = TRUE;
or change it to:
if( pTag->Custom )
pTag->MultiKey = TRUE;
if need the possibility of adding the same key value with the same
recno to the custom index just like in CL53 and COMIX CDX RDDs.
Please note that CDX does not have real support for DBOI_TEMPLATE and
DBOI_MULTIKEY which I implemented so far only for DNFNTX and DBFNSX.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour