I wrote:

"I was able to create an executable using the following command

pp -x --gui --icon "path/to/my/icon.ico" -o my_program.exe my_program.pl

The program is executed while generating the exe and the GUI is loaded.
It seems to work since I can perform all operations correctly. I close
the application window and pp finishes the creation process.

When I try to start the executable from a command line window nothing
happens. Why is that and what can I do to at least see an error
message?"

Solution was:

I added debug system('cmd.exe /C echo my_message') == 0 or die "Error:
$?"; calls to my_program.pl to determine the source of error. Ugly, but
worked alright.

The module dependencies were all ok! The executable needed a couple of
resources (files, directories) I mistakenly thought the executable would
provide (don't know where I got that idea from).

Hope this helps somebody else,
Nele

Reply via email to