I'm finally back to try to get my Clipper FW24 application to compile with FWH using vc98.
My Link command with results:
- Code: Select all Expand view
c:\dev\pcr5>link @KEYLESS\build\pcrHBH.lnk /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libcmt /LIBPATH:C:\HarbourM\lib /OUT:C:\DEV\PCR5\KEYLESS\EXE\HB\PCREGW.EXE
hbrtl.lib(tgetint.obj) : warning LNK4006: _HB_FUN_GETNEW already defined in FiveHM.lib(TCLIPGET.obj); second definition ignored
gtgui.lib(gtgui.obj) : warning LNK4006: _HB_FUN_HB_GT_GUI_DEFAULT already defined in FiveHM.lib(ERRSYSW.obj); second definition ignored
PCLW.OBJ : error LNK2001: unresolved external symbol _HB_FUN__LW
FiveHCM.lib(SOUND.obj) : error LNK2001: unresolved external symbol __imp__sndPlaySoundA@8
C:\DEV\PCR5\KEYLESS\EXE\HB\PCREGW.EXE : fatal error LNK1120: 2 unresolved externals
My Link file:
- Code: Select all Expand view
keyless\hbobjh\pcregw.obj
keyless\hbobjh\CCOMM.OBJ
keyless\hbobjh\CCOPYDAT.OBJ
keyless\hbobjh\CPCREG.OBJ
keyless\hbobjh\CWINDOW.OBJ
keyless\hbobjh\PCLW.OBJ
keyless\hbobjh\ADDALIAS.OBJ
keyless\hbobjh\ADDNDX.OBJ
keyless\hbobjh\ALTC.OBJ
keyless\hbobjh\AREA1.OBJ
keyless\hbobjh\AREA1_A.OBJ
keyless\hbobjh\AREA1_B.OBJ
keyless\hbobjh\AREA1_C.OBJ
keyless\hbobjh\AREA1_D.OBJ
keyless\hbobjh\AREA1_DB.OBJ
keyless\hbobjh\AREA2.OBJ
keyless\hbobjh\AREA2_A.OBJ
keyless\hbobjh\AREA2_B.OBJ
keyless\hbobjh\AREA2_C.OBJ
keyless\hbobjh\AREA2_C2.OBJ
keyless\hbobjh\AREA2_D.OBJ
keyless\hbobjh\AREA2_E.OBJ
keyless\hbobjh\AREA2_F.OBJ
keyless\hbobjh\AREA2_H.OBJ
keyless\hbobjh\AREA3.OBJ
keyless\hbobjh\AREA3_A.OBJ
keyless\hbobjh\AREA3_B.OBJ
keyless\hbobjh\AREA3_C.OBJ
keyless\hbobjh\AREA4.OBJ
keyless\hbobjh\AREA4_A.OBJ
keyless\hbobjh\AREA4_B.OBJ
keyless\hbobjh\AREA4_C.OBJ
keyless\hbobjh\AREA4_D.OBJ
keyless\hbobjh\AUTHCOMM.OBJ
keyless\hbobjh\AUTHSUP.OBJ
keyless\hbobjh\AUTHTRAN.OBJ
keyless\hbobjh\BATCHADM.OBJ
keyless\hbobjh\CAPFIRST.OBJ
keyless\hbobjh\CBUTTON.OBJ
keyless\hbobjh\CDIALOG.OBJ
keyless\hbobjh\CGET.OBJ
keyless\hbobjh\CHTML.OBJ
keyless\hbobjh\CONCORD.OBJ
keyless\hbobjh\CRECT.OBJ
keyless\hbobjh\CRYPKEY.OBJ
keyless\hbobjh\CSHIFT4.OBJ
keyless\hbobjh\CSTREAM.OBJ
keyless\hbobjh\DBFT.OBJ
keyless\hbobjh\ENOUGH.OBJ
keyless\hbobjh\ERRSYSW.OBJ
keyless\hbobjh\FAIMWIN.OBJ
keyless\hbobjh\FDBF.OBJ
keyless\hbobjh\FEXPFILE.OBJ
keyless\hbobjh\FLIVE.OBJ
keyless\hbobjh\FMULTI.OBJ
keyless\hbobjh\FPAD.OBJ
keyless\hbobjh\FPCJOUR.OBJ
keyless\hbobjh\FPCKEY.OBJ
keyless\hbobjh\FRENCFG.OBJ
keyless\hbobjh\FRENLAR.OBJ
keyless\hbobjh\FSCALE.OBJ
keyless\hbobjh\FSUSPEND.OBJ
keyless\hbobjh\FTAXRAM.OBJ
keyless\hbobjh\FTXTVIEW.OBJ
keyless\hbobjh\FUNIQUE.OBJ
keyless\hbobjh\FUSEFILE.OBJ
keyless\hbobjh\GENIO.OBJ
keyless\hbobjh\GETPSW.OBJ
keyless\hbobjh\GETSERI.OBJ
keyless\hbobjh\GETSYS1.OBJ
keyless\hbobjh\GO.OBJ
keyless\hbobjh\HANDY.OBJ
keyless\hbobjh\HARDWARE.OBJ
keyless\hbobjh\HELP.OBJ
keyless\hbobjh\IBM4694W.OBJ
keyless\hbobjh\ICSETUP.OBJ
keyless\hbobjh\ICVERIFY.OBJ
keyless\hbobjh\LUHN.OBJ
keyless\hbobjh\MDICHILD.OBJ
keyless\hbobjh\MDICLIEN.OBJ
keyless\hbobjh\MDIFRAME.OBJ
keyless\hbobjh\MERCURY.OBJ
keyless\hbobjh\MODE.OBJ
keyless\hbobjh\MYBUTTON.OBJ
keyless\hbobjh\NOCOLOR.OBJ
keyless\hbobjh\NOTECSUP.OBJ
keyless\hbobjh\OPENFILE.OBJ
keyless\hbobjh\OPENSUSP.OBJ
keyless\hbobjh\PHYSICAL.OBJ
keyless\hbobjh\PINPAD.OBJ
keyless\hbobjh\PLU_FUNC.OBJ
keyless\hbobjh\PRINTCFG.OBJ
keyless\hbobjh\REGSETUP.OBJ
keyless\hbobjh\RFLINE.OBJ
keyless\hbobjh\ROOT.OBJ
keyless\hbobjh\SCANNER.OBJ
keyless\hbobjh\SCROLBAR.OBJ
keyless\hbobjh\SHELL.OBJ
keyless\hbobjh\SPRO.OBJ
keyless\hbobjh\TELEPATH.OBJ
keyless\hbobjh\TGET.OBJ
keyless\hbobjh\TXGET.OBJ
keyless\hbobjh\VERSION.OBJ
keyless\hbobjh\XCHKBOX.OBJ
keyless\hbobjh\XTIMER.OBJ
windows\PCREG.res
c:\dev\FWH\lib\FiveHM.lib
c:\dev\FWH\lib\FiveHCM.lib
c:\harbourM\lib\hbrtl.lib
c:\harbourM\lib\hbvm.lib
c:\harbourM\lib\gtgui.lib
c:\harbourM\lib\hblang.lib
c:\harbourM\lib\hbmacro.lib
c:\harbourM\lib\hbrdd.lib
c:\harbourM\lib\rddntx.lib
c:\harbourM\lib\rddcdx.lib
c:\harbourM\lib\rddfpt.lib
c:\harbourM\lib\hbsix.lib
c:\harbourM\lib\hbdebug.lib
c:\harbourM\lib\hbcommon.lib
c:\harbourM\lib\hbpp.lib
c:\harbourM\lib\hbcpage.lib
c:\harbourM\lib\hbw32.lib
c:\harbourM\lib\hbct.lib
c:\harbourM\lib\hbpcre.lib
c:\harbourM\lib\hbzlib.lib
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
comctl32.lib
comdlg32.lib
advapi32.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
odbc32.lib
odbccp32.lib
iphlpapi.lib
mpr.lib
version.lib
wsock32.lib
msimg32.lib
How do I solve?
1. the duplicate definition warnings
2. unresolved externals
Thanks Antonio,
Paul
I'm online in timezone GMT+7