I get an "unresolved external symbol "_HB_FUN_CREATEFILE .." with FWH 10.07.
(xHarbour Professional Nov. 2009, Using Fivehmx.lib and Fivehcm.Lib)
CreateFile
Re: CreateFile
I don't know the function "CreateFile()".
Shouldn't you use : "DbCreate()" ?
Shouldn't you use : "DbCreate()" ?
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: CreateFile
Thanks for the answer, but this is the function. In an earlier FWH-version I think "Createfile" was inclosed.
Code: Select all
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);
}
Frank-Peter
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Re: CreateFile
Frank-Peter,
why don´t you use the internal function FCreate () ?
why don´t you use the internal function FCreate () ?
kind regards
Stefan
Stefan