Re: [Harbour] HB_FUNC( WRITEFILE ) in hbwhat32\_winsys.c

2008-02-14 Thread Alex Strickland
Budyanto Dj. wrote: As for the comments describing 5 parameters to pass, it is about WinAPI's WriteFile(), not about HB_FUN_WRITEFILE :-) Yes, I see your point. A little strange as it seems to me that in general What32 tries to be as true to the API as possible. I even recall there was a too

Re: [Harbour] HB_FUNC( WRITEFILE ) in hbwhat32\_winsys.c

2008-02-14 Thread Budyanto Dj.
Alex, I am not a user of WriteFile(), but from a quick glance I think the current code is OK. The author seems to expect this: WriteFile(hFile, cBuffer, @nNumWritten, @lOverlapped) (only 4 parameters required, not 5). As for the comments describing 5 parameters to pass, it is about WinAPI's W

[Harbour] HB_FUNC( WRITEFILE ) in hbwhat32\_winsys.c

2008-02-14 Thread Alex Strickland
Hi Could someone please change in hbwhat32\_winsys.c: //---// /* BOOL WriteFile( HANDLE hFile,// handle to file to write to LPCVOID lpBuffer,// pointer to data to write to file DWORD nNumber