Just guessing but try passing @MyFunction as the parameter.

Guy

----- Original Message ----- 
From: "Tony Sinclair" <[EMAIL PROTECTED]>
> Hi all,
> 
> has anyone called a exported C function in a dll that receives a function
> pointer as a parameter.
> 
> For example the C typedef is:
> 
> typedef int (* lpfMyFunction)(int);
> 
> what should I do to pass that in as a parameter?


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to