Try adding the stdcall declaration to your function, the APIENTRY looks like a macro that is defined somewhere in the C stuff, a quick search through header files should show you what it expands to. Tim > > LONG APIENTRY YourFunction (HWND hwnd, LPLONG lpIValue, > LPSTR lpszValue); > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
- [DUG]: SQL Server or Interbase ?? Jeremy Coulter
- Re: [DUG]: SQL Server or Interbase ?? Nic Wise
- RE: [DUG]: SQL Server or Interbase ?? Jeremy Coulter
- Re: [DUG]: SQL Server or Interbase ?? Nic Wise
- Re: [DUG]: SQL Server or Interbase ?? Peter Vroegop
- RE: [DUG]: SQL Server or Interbase ?? Jeremy Coulter
- [DUG]: Converting C style DLL Funct... Chris Crowe
- RE: [DUG]: Converting C style D... Tim McSweeney
- RE: [DUG]: Converting C sty... Chris Crowe
- Re: [DUG]: Converting C style D... Nic Wise
- RE: [DUG]: Converting C sty... Chris Crowe
- Re: [DUG]: SQL Server or Interbase ?? Bernard Varaine