Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 Feb : C header Conversion Help
| Subject: | C header Conversion Help |
| Posted by: | "Darryl Strickland" (stricd..@gmail.com) |
| Date: | Mon, 25 Feb 2008 13:56:35 |
I have a C header which I need to use directly in Delphi. I have used Dr.
Bobs converter utility to get me started but I need help on the items below.
C Header
DWORD CWC_WINAPI CWC_DeleteAllFiles(DWORD handle, unsigned char
adminPin[8]);
DWORD CWC_WINAPI CWC_GetCardSerialNumber(DWORD handle, unsigned char
serialNumber[8]);
DWORD CWC_WINAPI CWC_GetLastErrorMessage(char msg[255]);
Delphi Conversion
CWC_DeleteAllFiles: function(handle: LongInt;
adminPin[8]: Byte): LongInt stdcall ;
CWC_GetCardSerialNumber: function(handle: LongInt;
serialNumber[8]: Byte): LongInt stdcall
;
CWC_GetLastErrorMessage: function(msg[255]: Char): LongInt stdcall ;
Thanks for any help.
Darryl