LoadLibrary() can dynamically load a dll from a dll file on the system path or the PATH enviroment varible.
Is there any way to load a dll from a memory stream?
Thanks for any advances.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ken duPosted Aug 9, 2007, 9:32 AM
I want to load an unmanaged dll into my assembly. In my assembly, it will call the functions of the unmanaged dll. What I want to do is to merge the unmanaged dll into the result assembly and not to expose the unmanaged dll as an external dll file.
What is your advice?
Mike GoldPosted Aug 8, 2007, 2:44 PM
maybe you can better describe what it is you are trying to do. LoadLibrary is an SDK call for loading unmanaged dlls (usually for loading a resource). If your dll is an assembly that is managed, you probably want to use the Assembly.Load method or equivalent.
What kind of dll are you loading?