I have an ActiveX control (foo.dll), when I embedded the same in the IE and start the page. I could see that the process explorer shows two instances of the foo.dll loaded from the same location.
This causes the DLL_PROCESS_ATTACH to be called twice and the global data structures gets initialized twice.
Is there a way to workaround this ? how does the windows loader works ?
Thanks, Velu