Embedd DLL into executable



To ease deployment, I'd like to embedd a DLL with my executable as a resource.

I figure I could always dump the dll-resource to a temp file, and then load the temp file as a DLL, but is there a way I can skip this step? I.e. load the embedded DLL directly? (or: how is LoadLibrary implemented?)

--
Rune

.



Relevant Pages

  • Re: Embedd DLL into executable
    ... I figure I could always dump the dll-resource to a temp file, ... load the temp file as a DLL, but is there a way I can skip this step? ... resource to disk, then does a load to get the DLL into ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Embedd DLL into executable
    ... at lower levels, the loader API operates with the DLL path value, untill the ... I figure I could always dump the dll-resource to a temp file, ... load the temp file as a DLL, but is there a way I can skip this step? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Embedd DLL into executable
    ... DLLs in single file and they run directly from memory. ... I figure I could always dump the dll-resource to a temp file, and then load the temp file as a DLL, but is there a way I ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Embedd DLL into executable
    ... DLLs in single file and they run directly from memory. ... I figure I could always dump the dll-resource to a temp file, ... I.e. load the embedded DLL directly? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)

Loading