I need to set a callback function with a Windows call, but cant figure out
how to point to a function in my program. For example
Callback(hwnd, fpProc);
Where fpProc is Address of the callback function.

Say my function in current proceedure is
Tmainform.beeper:boolean;
begin
end;

Callback(hwnd,Longint(@beeper)); Does not work.

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

Reply via email to