Can OCX tell which DLL called it?
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, If an exe A.EXE calls an ActiveX DLL B.DLL, which opens a form which has an OCX called C.OCX: Is there a way C.OCX can tell teh name of the DLL which launched the form that called it?
-
Hi, If an exe A.EXE calls an ActiveX DLL B.DLL, which opens a form which has an OCX called C.OCX: Is there a way C.OCX can tell teh name of the DLL which launched the form that called it?
No there isn't. The only way it can tell is if your OCX has function which take a parameter as such. The form would then have to pass a reference to itself to the function, which is never done by default. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome