Link to home
Start Free TrialLog in
Avatar of bhamilto
bhamilto

asked on

When are ActiveX DLL's loaded?

I have a project with a main EXE and several ActiveX DLL's
Some of the DLL's call other DLL's.

Ideally I would like to control when these DLL's are actually loaded to minimize start-up time and resources. Some DLL's are only occasionaly required so it would be nice to only load them when I need them.

I can't find any documentation on this. Does Windows load all referenced DLL's when it loads my EXE? Does late binding make a difference? And most importantly is there some way I can control when they are loaded?

Any help would be appreciated - Bob Hamilton
ASKER CERTIFIED SOLUTION
Avatar of apratima
apratima

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhamilto
bhamilto

ASKER

Is there some way to confirm when they are loaded? They don't show up in PView or Spy++ (Sorry this should have been part of my original question)
I am not sure about internally what should be happening but they are linked at the design time itself when you set reference for it.

>when they are loaded?
In VB, menu Help, About, then button System Info, Active Modules
ameba

Sorry, I mean how do you detect if they are loaded at run-time.

Thanks - Bob Hamilton