Page 1 of 1

Strange behavior copying a PPC .exe

PostPosted: Jun 15, 2004 @ 6:53am
by Conan

PostPosted: Jun 15, 2004 @ 11:52am
by drgoldie
do you have any DLLs that your programm depends on which are not available in that new directory?

maybe one day even WinCE will tell us which DLLs are missing instead of just "not a valid application...".

Daniel

PostPosted: Jun 15, 2004 @ 12:32pm
by Dan East
Try launching your program with DEXplor. I provide better error messages than the default file explorer.

Dan East

PostPosted: Jun 15, 2004 @ 6:30pm
by Conan
Thanks Dan, I will give it a try. I noticed today that I had an error in one of my 'get full path' calls which means that the game should fail to find a file but that should not cause the 'not a valid application' message. I will report what DEXplor says.

DEXPLOR message

PostPosted: Jun 16, 2004 @ 11:43am
by Conan
I get Error: This is not a valid PocketPC program, or is not for use with the StrongARM processor.

This is for a .exe which works fine in it's original folder \pgl and in folder \program files\pgl but not in any other folder \program files\whatever ????

I'm going to investigate everything related to paths as I know all required files are present so it 'must' be something else.
.... some time later ...
ok, got it all working but I don't know how.
Firstly I used EZSETUP 2 instead of 1.
Secondly I copied all the files from the PPC working dir to my PCs EZSETUP input files dir then
built the installer & the error message has gone, so one of the files, possibly a dll was not correct but I don't know which. (& I don't care too much as my installer now works)

PostPosted: Jun 16, 2004 @ 1:54pm
by egarayblas
The file must have been corrupted while being transferred to the device. This has happened to me before and I found out that there was an intermittent problem with my PPC's connection to its cradle then to my PC. All the files that I copy gets corrupted all the time. I had to do a soft reset and "reconnect" my cradle to my PC in order to solve the problem. I'm not sure though if it is "somewhat" related to yours. :)

What I do now is copy my file to the SD card thru a card reader and I run the game (for testing) from my SD card. I don't trust my cable connections anymore after that incident. 8O

PostPosted: Jun 16, 2004 @ 9:33pm
by Dan East