I get an "unresolved external symbol "_HB_FUN_CREATEFILE .." with FWH 10.07.
(xHarbour Professional Nov. 2009, Using Fivehmx.lib and Fivehcm.Lib)
HB_FUNC (CREATEFILE)
{
LPCTSTR lpFileName = (LPCTSTR) _parc (1);
DWORD dwDesiredAccess = (DWORD) _parnl (2);
DWORD dwShareMode = (DWORD) _parnl (3);
LPSECURITY_ATTRIBUTES lpSecurityAttributes = (LPSECURITY_ATTRIBUTES) _parnl (4);
DWORD dwCreationDistribution = (DWORD) _parnl (5);
DWORD dwFlagsAndAttributes = (DWORD) _parnl (6);
HANDLE hTemplateFile = (HANDLE) _parnl (7);
HANDLE handle =
CreateFile (lpFileName, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDistribution,
dwFlagsAndAttributes, hTemplateFile);
_retnl ((long) handle);
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 91 guests