[DUG] Callback events from DLLs

Jeremy Coulter vss at vss.co.nz
Fri Jun 24 15:32:28 NZST 2005


Actually....I have remembered a bit.
I am just trying to remember  how to assign the event to a procedure.

jeremy 

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Jeremy Coulter
Sent: 24 June 2005 15:02
To: delphi at delphi.org.nz
Subject: [DUG] Callback events from DLLs


Hi All.
Some time ago I did some stuff with Callback events from a DLL.

I have to do it again (different DLL) and I cant find the code, and my
memory is not that good :-)

How would I handle the following in Delphi?

 BOOL RStart(char* lpPath, onREvent event) 

This function has just been altered and I used to declare it

Function RStart(lPath:PChar) : boolean; stdCall; external  the.dll

How would I handle it now that it uses an event?

Jeremy


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi





More information about the Delphi mailing list