I have an issues, which I'm sure one of you Free-Pinter's will be able to assist me with.
I am trying to write an ActiveX dll, which encapsulates the Winsock Component to perform SMTP commands via port 25. I have written this using the winsock control inside a standard .exe with no problems at all. However in a .dll I can only use the CreateObject(ProgID) in my code (as there is no form for the control to sit on). Again no problem, I can access the methods and set properties etc... My code relies on the Winsock_DataArrival event to execute certain rules. How can I expose the events of an object instance which has been created programmatically? I have a feeling that the key lies somewhere in either WithEvents or RaiseEvents (or both).
I have an issues, which I'm sure one of you Free-Pinter's will be able to assist me with.
I am trying ...
Dave Phillips
11/07/01 16:28
11182
Please note: The reply form is not showing because the posting is older than six months or the thread is locked. Please start a new topic or contact the forum administrator.