Ken Kozman wrote: > > The system we are working on will be using XPCOM and we were thinking of > running the autoregister at the startup of the program (I guess we were > really counting on running it actually...) > > So I looked into the default implementation of nsIModule (the interface > which defines the method canUnload( ).) Here are the tragic results: This is a problem the first time you autoreg when everything gets loaded, but on subsequent registrations AutoReg only loads new modules and ones which have "changed" as determined by timestamp and file size. -Dan Veditz
- Re: Autoreg, unloading DLLs, and running out of open files Simon Fraser
- Re: Autoreg, unloading DLLs, and running out of open f... John Bandhauer
- Re: Autoreg, unloading DLLs, and running out of open files Simon P. Lucy
- Re: Autoreg, unloading DLLs, and running out of open files Ken Kozman
- Re: Autoreg, unloading DLLs, and running out of open files Dan Mosedale
- Re: Autoreg, unloading DLLs, and running out of open files Colin Blake
- Re: Autoreg, unloading DLLs, and running out of open files Simon P. Lucy
- Re: Autoreg, unloading DLLs, and running out of open files Colin Blake
- Re: Autoreg, unloading DLLs, and running out of open files Daniel Veditz
