Re: getting an event handler from a active-x dll dispinterface




I have imported a active-x dll into delphi for communicating with a
device trough com-port.

I managed to create an object with a sendmessage procedure and used it
succesfully. I now want to create events to receive messages but since
I only know for about 10% what i'm doing I don't know where to start.
Also I signed a non-disclosure contract with the firm of the device so
I can't be too specific I guess.

When you import the ActiveX select the option to create a component,
the resulting component should have the events.

However why don't you try and find a native Delphi component, there are
many good ones available. (Try looking at somewhere like www.torry.net
or http://delphi.icm.edu.pl )

--
Marc

.