Hi Antonio
8.03 upgrade -> compile / link error
The upgrade like this error is born after
//------------------------------------------
set hdir=d:\harbour_vc
set vcdir=d:\vc98
set fwdir=d:\fwh24
set include=%vcdir%\include;%hdir%\include;%fwdir%\include;
set lib=%vcdir%\lib;%hdir%\lib;%fwdir%\lib;
%hdir%\bin\harbour main.prg /n /i%hdir%\include;%fwdir%\include; /p %2 %3
%hdir%\bin\harbour sql.prg /n /i%hdir%\include;%fwdir%\include; /p %2 %3
%hdir%\bin\harbour socket.prg /n /i%hdir%\include;%fwdir%\include; /p %2 %3
%vcdir%\bin\cl -TP -W3 -c /GA main.c
%vcdir%\bin\cl -TP -W3 -c /GA sql.c
%vcdir%\bin\cl -TP -W3 -c /GA socket.c
IF EXIST main.rc %vcdir%\bin\rc -r -d__FLAT__ main
echo main.obj socket.obj sql.obj > msvc.tmp
echo %fwdir%\lib\Fivehm.lib %fwdir%\lib\FiveHcm.lib >> msvc.tmp
echo %hdir%\lib\rtl.lib >> msvc.tmp
echo %hdir%\lib\vm.lib >> msvc.tmp
echo %hdir%\lib\gui.lib >> msvc.tmp
echo %hdir%\lib\gtwin.lib >> msvc.tmp
echo %hdir%\lib\lang.lib >> msvc.tmp
echo %hdir%\lib\macro.lib >> msvc.tmp
echo %hdir%\lib\rdd.lib >> msvc.tmp
echo %hdir%\lib\dbfntx.lib >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib >> msvc.tmp
echo %hdir%\lib\dbffpt.lib >> msvc.tmp
echo %hdir%\lib\hbsix.lib >> msvc.tmp
echo %hdir%\lib\debug.lib >> msvc.tmp
echo %hdir%\lib\common.lib >> msvc.tmp
echo %hdir%\lib\pp.lib >> msvc.tmp
echo %hdir%\lib\codepage.lib >> msvc.tmp
echo %vcdir%\lib\kernel32.lib >> msvc.tmp
echo %vcdir%\lib\user32.lib >> msvc.tmp
echo %vcdir%\lib\gdi32.lib >> msvc.tmp
echo %vcdir%\lib\winspool.lib >> msvc.tmp
echo %vcdir%\lib\comctl32.lib >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib >> msvc.tmp
echo %vcdir%\lib\advapi32.lib >> msvc.tmp
echo %vcdir%\lib\shell32.lib >> msvc.tmp
echo %vcdir%\lib\ole32.lib >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib >> msvc.tmp
echo %vcdir%\lib\uuid.lib >> msvc.tmp
echo %vcdir%\lib\odbc32.lib >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib >> msvc.tmp
echo %vcdir%\lib\mpr.lib >> msvc.tmp
echo %vcdir%\lib\version.lib >> msvc.tmp
echo %vcdir%\lib\wsock32.lib >> msvc.tmp
echo %vcdir%\lib\oledlg.lib >> msvc.tmp
echo %vcdir%\lib\vfw32.lib >> msvc.tmp
IF EXIST main.res echo main.res >> msvc.tmp
%vcdir%\bin\link @msvc.tmp /nologo /subsystem:windows /force:multiple
//-----------------------comfile and link-----------------------------
//-----------------------comfile and link-----------------------------
//-----------------------comfile and link-----------------------------
//-----------------------comfile and link-----------------------------
Compiling...
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007,
http://www.harbour-project.org/ Compiling 'main.prg' and generating preprocessed output to 'main.ppo'...
Lines 5872, Functions/Procedures 40
Generating C source output to 'main.c'... Done.
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007,
http://www.harbour-project.org/ Compiling 'sql.prg' and generating preprocessed output to 'sql.ppo'...
Lines 4222, Functions/Procedures 11
Generating C source output to 'sql.c'... Done.
Harbour devel build 1.1-1 Intl.
Copyright 1999-2007,
http://www.harbour-project.org/ Compiling 'socket.prg' and generating preprocessed output to 'socket.ppo'...
Lines 3585, Functions/Procedures 4
Generating C source output to 'socket.c'... Done.
main.c
sql.c
socket.c
FiveHcm.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already defined in Fivehm.lib(CONTROL.obj); second definition ignored
FiveHcm.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already defined in Fivehm.lib(CONTROL.obj); second definition ignored
Creating library main.lib and object main.exp
Fivehm.lib(ERRSYSW.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_GT_GUI
Fivehm.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CREATEOBJECT
Fivehm.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_GETACTIVEOBJECT
main.exe : fatal error LNK1120: 3 unresolved externals
* There are errors