Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jun : LoadLibrary from resource?
| Subject: | LoadLibrary from resource? |
| Posted by: | "Alistair Ward" (awa..@forum8.co.nz) |
| Date: | Tue, 13 Jun 2006 11:40:45 +1200 |
We have some 3rd-party security code that has been provided to us as a DLL.
Rather than shipping a separate DLL with our app, we would like to link the
DLL into our application (D7). At the moment we are considering including
the DLL as a resource, then writing it out as a file at runtime, and loading
it.
Does anybody know of any way to do this *without* writing it out as a file,
ie, LoadLibrary (or equivalent) either directly from the resource, or from a
Stream?
Thanks,
Alistair.