Hi All,
I have an ActiveX DLL that is called from an ActiveX Control. These are
used by an App that starts with an MDIForm. The MDIform is a container and
the only object in it's project. I then have another project with a throw
away form in it. The MDI form loads and straight away instanciates the
ActiveX control This in turn creates the Dll (which is multiuse) and
populates a collection in there. My problem now is From the MDI the user
will select the standard form from yet another project, when it loads I
need it to pick up the collection and it's information manipulate it then
inform the ActiveX that somthing has changed so thatit can react to it.
Normally I'd use with events and set the standard forms instance of the
dll to the activeX's instance, but I'm not allowed to declare the ActiveX
DLL in the standard form, so must 'pull' the class in some way including
it's collection info created by the conrol. The standard Form does not
know about the control, and the activeX doesn't know about the standard
form. Neither know that they are used from an MDI.
I hope the set up makes sense to you. The TDA on this are insistant that
the DLL is controlled by the control. I'm stumped on this one.
Regards
Bill Crawley