This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Strange behavior copying a PPC .exe


Strange behavior copying a PPC .exe

Postby Conan » Jun 15, 2004 @ 6:53am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby drgoldie » Jun 15, 2004 @ 11:52am

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
drgoldie
pm Member
 
Posts: 330
Joined: Jan 10, 2003 @ 10:46am
Location: Vienna


Postby Dan East » Jun 15, 2004 @ 12:32pm

Try launching your program with DEXplor. I provide better error messages than the default file explorer.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Conan » Jun 15, 2004 @ 6:30pm

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.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


DEXPLOR message

Postby Conan » Jun 16, 2004 @ 11:43am

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)
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby egarayblas » Jun 16, 2004 @ 1:54pm

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
-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Dan East » Jun 16, 2004 @ 9:33pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum