Re: Embedd DLL into executable
- From: "Dennis Jones" <nospam@xxxxxxxxxx>
- Date: Wed, 16 Jan 2008 15:20:15 -0800
"Volodymyr Shcherbyna" <v_scherbina@xxxxxxxxxxxxxxx> wrote in message
news:O%23MeMFJWIHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
I don't remember the details, but IIRC, it extracts the DLL from the
resource to disk, then does a load (or maybe delay load) to get the DLL
into memory. Then, when the program shuts down, the DLL is automatically
deleted from the disk.
What is the reason? This is exactly the way, OP tries to avoid.
It depends on his reason for avoiding it. If he wants to avoid it for
performance reasons, then I agree, my suggestion is not very helpful. But,
on the other hand, if he wants to avoid it just so he doesn't have to figure
out how to do it and write/debug a bunch of code, then an easy solution is
to use existing code, which is what the article provides.
So that's why I mentioned it...just in case he just didn't want to go to all
the trouble of figuring it out and writing/debugging the code.
- Dennis
.
- Follow-Ups:
- Re: Embedd DLL into executable
- From: Volodymyr Shcherbyna
- Re: Embedd DLL into executable
- References:
- Embedd DLL into executable
- From: Rune Moberg
- Re: Embedd DLL into executable
- From: Dennis Jones
- Re: Embedd DLL into executable
- From: Volodymyr Shcherbyna
- Embedd DLL into executable
- Prev by Date: Re: Embedd DLL into executable
- Next by Date: Re: How can I specify a timeout value for a namedpipe?
- Previous by thread: Re: Embedd DLL into executable
- Next by thread: Re: Embedd DLL into executable
- Index(es):
Relevant Pages
|