Callbacks from a DLL to its calling form
Posted on 1998-07-05
I have just started writing ActiveX DLLs, and I have the following question:-
I start my project off by showing Form1. Then it calls an ActiveX DLL called DLL1. Then I want the DLL to be able to access the contents of a textbox in Form1.
Is this what they call a "callback" problem? When I attempt to refer to the textbox in Form1 from the DLL, I get an error message saying that it does not recognise the object (Form1) being referred to.
Must I pass Form1 as an argument when I call the procedure inside the DLL? I am not sure how to phrase this. I would be very grateful for a code example.