I've tried with three different tools

Why not show exactly what you tried in the form of a small self-contained example?

To is how i tried (you'll need Listdlls).

pp -e " use Crypt::SSLeay; print $Crypt::SSLeay::VERSION,$/ ; my @ldd += qw[ Listdlls.exe ]; print for qx!@ldd $$!; " ---------------------------------------------------------------------- +-------- a.exe pid: 1164 Command line: a Base Size Version Path 0x00400000 0x12000 0.00.0000.0000 ...\cache-da39a3ee5e6b4b0d3255 +bfef95601890afd80709\a.exe 0x018b0000 0xfe000 0.09.0008.0011 C:\WINDOWS\System32\libeay32.d +ll 0x019c0000 0x33000 0.09.0008.0011 C:\WINDOWS\System32\ssleay32.d +ll
now adding the shared libraries
pp -l libeay32.dll -l ssleay32.dll -e " use Crypt::SSLeay; print $Cryp +t::SSLeay::VERSION,$/ ; my @ldd = qw[ Listdlls.exe ]; print for qx!@ +ldd $$!; " ---------------------------------------------------------------------- +-------- a.exe pid: 1136 Command line: a Base Size Version Path 0x00400000 0x12000 0.00.0000.0000 ...\cache-da39a3ee5e6b4b0d3255 +bfef95601890afd80709\a.exe 0x018b0000 0xfe000 0.09.0008.0011 ...\cache-da39a3ee5e6b4b0d3255 +bfef95601890afd80709\libeay32.dll 0x019c0000 0x33000 0.09.0008.0011 ...\cache-da39a3ee5e6b4b0d3255 +bfef95601890afd80709\ssleay32.dll
if you unzip a.exe, you'll find
2006-09-28 15:04:00 ..... 1073152 487750 shlib\MSWin32-x86 +-multi-thread\libeay32.dll 2006-09-28 15:04:14 ..... 200704 93031 shlib\MSWin32-x86 +-multi-thread\ssleay32.dll ------------------- ----- ------------ ------------ ----------------- +-------

In reply to Re: Embedding extra DLLs into .exe *and finding* them again by Anonymous Monk
in thread Embedding extra DLLs into .exe *and finding* them again by tarmes

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.