"Emulates" LoadLibrary() but allows you to pass a byte[] instead of a filename.

This doesn't support msvcr80.dll etc because they need to be specially loaded. I might get around to that later.

Ported from the C++ code in this pdf http://www.tuts4you.com/download.php?view.2098 .


When I get around to adding support for manifest dlls. Defiantly going to neaten up the code.

Just wanted to share .

http://pastebin.com/f74008ab2