This project has moved. For the latest updates, please go here.

Lame dll as embedded ressource / Reflection?

Dec 13, 2016 at 4:51 PM
Hi,

Is there any possibility to have the lame dll as embedded ressource?
Maybe with reflection instead of LoadLibrary call.
Assembly.Load-Methode: (Byte[])
Any ideas?

thanks in advance..
Martin
Coordinator
Jan 19 at 8:02 PM
Hi
LAME library is native Win32 DLL. AFAIK, it can only be loaded to a process from a file. You can store LAME DLL as embedded resource, but it should be extracted to a temporary file at runtime for loading into a process.
http://stackoverflow.com/questions/666799/embedding-unmanaged-dll-into-a-managed-c-sharp-dll