BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D2006: How to force the IDE to load a package at startup

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI
View previous topic :: View next topic  
Author Message
Sergio Sette
Guest





PostPosted: Thu Mar 29, 2007 1:25 pm    Post subject: D2006: How to force the IDE to load a package at startup Reply with quote



I've noted in D2006 not all installed packages are loaded at startup but
are loaded only when needed (i.e. when a package's component is used).
This can be useful for startup performances, but in some cases i need to
load the package at startup. I've found that packages containing
wizards or selection editor are always loaded at startup, so I suppose
there should be a way to tell the IDE to do that.
How to force the ide to load a package at startup ?

TIA

sergio sette
Back to top
Robert
Guest





PostPosted: Sat Mar 31, 2007 8:12 am    Post subject: Re: D2006: How to force the IDE to load a package at startup Reply with quote



Hi Sergio,
in the Register-Procedure of the Component/Package you can disable it with:

ForceDemandLoadState(dlDisable);

Robert

Sergio Sette schrieb:
Quote:
I've noted in D2006 not all installed packages are loaded at startup but
are loaded only when needed (i.e. when a package's component is used).
This can be useful for startup performances, but in some cases i need to
load the package at startup. I've found that packages containing
wizards or selection editor are always loaded at startup, so I suppose
there should be a way to tell the IDE to do that.
How to force the ide to load a package at startup ?

TIA

sergio sette
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.