PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Strange behavior copying a PPC .exe

On copying the game exe from one folder to another the prgram reports that it is not a valid pocketpc application?? copying it back & it's fine.

original dir is '\pgl' destination is
'program files\space treker'

Any thoughts?
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
Try launching your program with DEXplor. I provide better error messages than the default file explorer.

Dan East
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.
Conan · 16 Jun 2004, 10:43 UTC — DEXPLOR message
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)
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
I don't remember for certain, but I'm pretty sure you will see the same error if a DLL version is incorrect (IE a MIPS DLL on an ARM device).

Dan East