Dear Monks

I am here again with another question (I am still working on a solution for the last one I posted) which has to do with packing my .pl in an .exe file using PerlApp (ActiveState). No help from ActiveState as I am out of their programm by now. I am trying to pack in an exe a script containing Win32::Unicode. This module apparently relies on Unicode.ddl. And this library is not loaded in my exe. I get the following error:

Can't load 'auto/Win32/Unicode/Unicode.dll' for module Win32::Unicode: + load_file:module not found at at /<C:\Users\IB\myprogram.exe>DynaLoa +der.pm line 222. at /<C:\Users\IB\myprogram.exe>Win32/Unicode/XS.pm line 8. BEGIN failed--compilation aborted at /<C:\Users\IB\myprogram.exe>Win32 +/Unicode/Error.pm line 12. BEGIN failed--compilation aborted at /<C:\Users\IB\myprogram.exe>Win32 +/Unicode/File.pm line 15. BEGIN failed--compilation aborted at myprogram.pl line 1.

My dummy simple script is nothing but the following

use Win32::Unicode::File; print "Hello"

My dummy script (and also my real, long script) works pretty well when started from the comand line. I checked and Unicode.dll is in here 'auto/Win32/Unicode/Unicode.dll'. Anyone knows a solution? PS: I read dozens of posts, but couldn't find a single solution. I wouldn't like to a) abandon the module which I discovered a few days ago in another post here b) abandon PerlApp which is still working fine for me. Of course I read the PerlApp manual, tryed every possibile configuration it came in my mind, but guess: I still get this error. Thank you in advance.


In reply to PerlApp and Win32::Unicode by IB2017

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.