FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour 11.07 Build Error MSVC
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
11.07 Build Error MSVC
Posted: Tue Aug 02, 2011 10:00 PM

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

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: 11.07 Build Error MSVC
Posted: Sat Aug 13, 2011 06:17 PM

Tim,

You have to link psapi.lib also:

In samples\buildh32.bat

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion