c++ - Is it possible to keep DLL in memory after calling process exits? -


i have dll takes 5 10 seconds load, means have wait long every time compile , run executable uses it. there way keep dll loaded in memory can accessed every time compile corresponding executable? i'm compiling program on qt mingw, if that's relevant.

edit: no luck far. loading dll on program seems have no effect (the original program still loads dll, , takes long so). guess need load dll , functions differently if they've been loaded program, don't know how this. right i'm using loadlibrary , getprocaddress.

the easiest solution (assuming msvc++) make dll delay-loaded. trade-off of course initializaton still has happen, no longer delay other parts of program. e.g. can on background thread.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -