Page 1 of 1

11.07 Build Error MSVC

PostPosted: Tue Aug 02, 2011 10:00 pm
by TimStone
Using FWH 11.07 with my build ( from Antonio last month ) of the Microsoft version of Harbour, yields the following error:

FiveH32.lib(GETTASKS.obj) : error LNK2019: unresolved external symbol _GetModuleFileNameExA@16 referenced in function _HB_FUN_GETWINDOWMODULEFILENAME

Solution ?

Tim

Re: 11.07 Build Error MSVC

PostPosted: Sat Aug 13, 2011 6:17 pm
by Antonio Linares
Tim,

You have to link psapi.lib also:

In samples\buildh32.bat

echo %sdkdir%\lib\psapi.lib >> msvc.tmp