> LONG  APIENTRY  YourFunction (HWND hwnd, LPLONG lpIValue, LPSTR lpszValue);

function YourFunction (handle : HWND; var lpIValue : Integer; lpszValue
: PChar);stdcall;

Or something like that. Stdcall handles the APIENTRY thing.

BTW, I'm assuming 32bit.

N
-- 
Nic Wise - Inprise New Zealand Ltd. [EMAIL PROTECTED] 
09-360-0231 (wk), 021-676-418 (mob), [EMAIL PROTECTED] (hm)
My opinions do not reflect the opinions of my employer,
or myself at times.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to