Hello,
Please consider this scenario:
1. I use default installation of Windows XP SP-2
2. I use latest FWH 8.02 installed to default location: C:\FWH
3. I use latest xHarbour CVS at default location: C:\xHarbour
4. I use VS 2005, installed to default location C:\Program Files\Microsoft Visual Studio 8\VC.
5. I corrected C:\FWH\BuildxM.bat:
set vcdir=c:\VC2005
to:
set vcdir=C:\PROGRA~1\MICROS~2\Vc
and:
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\mpr.lib >> msvc.tmp
to:
echo %vcdir%\PlatformSDK\lib\kernel32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\user32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\gdi32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\winspool.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\comctl32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\comdlg32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\advapi32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\shell32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\ole32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\oleaut32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\uuid.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\odbc32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\odbccp32.lib >> msvc.tmp
echo %vcdir%\PlatformSDK\lib\mpr.lib >> msvc.tmp
6. When I try:
BuildxM FWBrow
I get:
┌───────────────────────
────────────────────────
────────────────────────
─────┐
│ FiveWin for xHarbour 8.02 (MSVC++) Feb. 2008 xHarbour
development power │▄
│ (c) FiveTech, 1993-2008 for Microsoft Windows 95/98/NT/2000/ME/
XP/Vista │█
└───────────────────────
────────────────────────
────────────────────────
─────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀
Compiling...
xHarbour Compiler build 1.1.0 (SimpLex)
Copyright 1999-2008, http://www.xharbour.org http://www.harbour-
project.org/
Compiling 'fwbrow.prg' and generating preprocessed output to
'fwbrow.ppo'...
Lines 407, Functions/Procedures 12
Generating C source output to 'fwbrow.c'...
Done.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
fwbrow.c
FiveHCM.lib(CURSORS.obj) : warning LNK4006: _HB_FUN_CURSORNO already
defined in
Fivehmx.lib(CONTROL.obj); second definition ignored
Creating library fwbrow.lib and object fwbrow.exp
FiveHCM.lib(CURSORS.obj) : error LNK2019: unresolved external symbol
_GetGuiReso
urces referenced in function _HB_FUN_GETGUIRESOURCES
fwbrow.exe : fatal error LNK1120: 1 unresolved externals
* There are errors
What a I doing wrong here?
Thanks!
Patrick