RE: compiled App doesn't work
by Lars Oeschey other posts by this author
Feb 28 2008 5:35AM messages near this date
Re: compiled App doesn't work
|
Re: compiled App doesn't work
What's even stranger: When I run the compiled .exe from a DosBox within
the directory it is, it works. When I start it from Explorer, it
doesn't... I don't get that...
> I have an application that works fine when run from the command prompt
> with perl interpreter, though when I compile it it doesn't.
>
> Versions: PerlApp 7.0.0 build 277058
> perl 5.8.8 build 817
>
> The same app compiled fine in the last version, so the only thing
> changed is the app itself. I get a hint when I try to run it from the
> graphical PerlApp GUI, it tries to call a Error routine that I have in
> my app, but without parameter, so it fails.
>
> this is the commandline PerlApp generates:
> perlapp --norunlib --gui --info "CompanyName=Audi AG / Epos
> CAT;FileDescription=Programm zum Labeldruck im Wareneingang
> TE;FileVersion=0.46;InternalName=Labelprint;LegalCopyright=Lars
> Oeschey;OriginalFilename=Labelprint;ProductName=Labelprint;Pro
> ductVersio
> n=0.46" --exe labelprint_0.46.exe labelprint_0.46.pl
>
> This is the error I get:
>
> Can't call method "messageBox" on an undefined value at
> labelprint_0.46.pl line 222.
>
> And this is line 222:
>
> sub Error {
> $top->messageBox(-icon=>"error", -message=>"@_",
> -title=>"Fehler!", -type=>"OK");
> print LOG "ErrorPopUp: @_\n";
> }
>
> Any ideas how to hunt this down?
>
> Lars
>
> _______________________________________________
> PDK mailing list
> PDK@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Lars Oeschey
Jenda Krynicky
Lars Oeschey
Bill Luebkert
Lars Oeschey
|