It looks like all the dependencies are not packed with the exe which causes the problem. There are are few things you can try:
- On the computer that you create the exe the files are available in the path so it might not complain. To test it once you create the exe open a new cmd.exe window and set path using the following command: ==CODE== set PATH=%windir%\system32;%windir%;%windir%\system32wbem ==CODE== then run the exe from this particular cmd window. - Use the -c and -x switches when creating the exe and try running the exe. - If you are still having problems then you will need to manually include the required files using the -l switch. To make the job easier you might want to use the facility argvfile provides (the command line switches can be saved to a file which can be passed to pp during exe creation using >pp @<filename>) But for now if the previous two options don't work then for each file you get a file missing error copy the file from the strawberry lib to the same folder that the .exe is and run it. Once the app is running without any problems you can then use -l switch and add them to the argvfile and pass them at once to pp. Regards. ---------------------------------- On Thu, 10 Jun 2010 12:00:11 +0200 frams...@rus.uni-stuttgart.de (Ulli Horlacher) wrote: > On Wed 2010-06-09 (23:09), Xaero wrote: > > If you create the exe with: > > > pp -gui -clean -o schwuppdiwupp.exe schwuppdiwupp.pl > > and put libeay32_.dll in the same folder as schwuppdiwupp.exe and run the > > exe does it work? > > Not quite, but close :-) > > Instead of > > "This application has failed to start because libeay32_.dll was not found." > > I get > > "This application has failed to start because libssl32_.dll was not found." > > One step further! > > Then I copied libssl32_.dll, too ...and... my application is starting! > > But after a while I get a runtime error: > > "Can't locate unicore/Heavy.pl in @INC (...) at utf8_heavy.pl line 96" > > which does not appear when I start schwuppdiwupp.exe on the Windows with > the installed strawberry perl. > > I then tried: > > pp -gui -clean -o schwuppdiwupp.exe schwuppdiwupp.pl > c:\strawberry\perl\lib\unicore\Heavy.pl > > but with the same result: > > "Can't locate unicore/Heavy.pl in @INC (...) at utf8_heavy.pl line 96" > > > > -- > Ullrich Horlacher Server- und Arbeitsplatzsysteme > Rechenzentrum E-Mail: horlac...@rus.uni-stuttgart.de > Universitaet Stuttgart Tel: ++49-711-685-65868 > Allmandring 30 Fax: ++49-711-682357 > 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/