Your skill will accomplish
what the force of many cannot
Embedding extra DLLs into .exe *and finding* them againby tarmes (Initiate)
|on Jul 30, 2009 at 10:24 UTC||Need Help??|
tarmes has asked for the
wisdom of the Perl Monks concerning the following question:
For the last 2 days I've been trying to "recompile" a script which had a bug that needed fixing. When I say "recompile" I really mean that I wish to turn it back into a single self contained .exe - that's how it came.
I've tried with three different tools - PerlApp, Perl2Exe and PAR::Packer.
In each case I am able to generate the .exe, but I'm always missing the DLLs that I need for SSL communication (libeay32.dll and ssleay32.dll). The original app had these contained in the .exe, and this worked seamlessly, so I'd like to do the same thing.
With each of the above tools I *can* successfully embed the two DLLs in to the .exe, and I'm sure that they're being extracted when the DLL starts, however they still can't be found when the exe is run.
I feel like I'm missing a step. The DLLs are embedded, and extracted to a temp folder, but there's nothing to tell the app to look in that folder when searching for DLLs. The original app could do this, so I'm clearly missing a step somewhere :(
Can anybode help me on this? I'd like to use either Perl2exe or PAR::Packer - PerlApp's too expensive.
P.S. Yes, I've searched - a lot.