PocketMatrix forums

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

Another newbie with big troubles

golan_trevize_x · 23 Nov 2001, 18:36 UTC
I tried that Microsoft Hello World sample for using the GAPI, and it worked. But I get this nasty warning: I'm using an iPAQ 3600
"The CPU does not support configuration ARM"

It didn't bother me at the time, because it worked.

Now I tried doing a basic EasyCE program and I get this on my PocketPC:
"Application sampleapp.exe has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
Exception: 0xc0000005
Address: 00000000 Fatal Application Error"

Please help!
I doubt the build warning you get is related to your program crashing. Perhaps if you posted the source code we could identify the problem.

Dan East
OK, I looked through the old threads and found that that build warning is just a known bug in Embedded Visual Tools.

The second problem is still there. The thing is that there IS no code. I've even tried it with just the EasyCE functions and an empty Main() method. I'm using the SampleApp zip file that comes with tutorial 1.
0xC0000005 is the exception code for an access violation.  This means that either code in your application, or APIs that your application calls are attempting to access memory that does not belong to your process.

Common causes for this sort of thing are attempting to dereference a NULL pointer, or possibly a pointer that was never initialized to a valid memory address.  You'll also run into this if you read or write beyond the bounds of a buffer or array.

In any case, run the offending application under the debugger and when it fails, look at a Call Stack.

That's a nasty one. Did you try EasyCE 1.5? Does it have the same problem?
What type of Pocket PC are you trying this on? Can you produce a standard "Hello World" app that works?

Dan East
Hey, flicked the thing off completely and reinitialised it. I lost all the apps on there, but the problem seems to have gone now.

Maybe it was something I put on like PocketTV.

Well done on the tutorials by the way Jacco, it's all good! If anyone's interested in working on an adventure game in the style of the ol' LucasArts games let me know. It'd just be for fun, ie. not for selling or anything.
You may have had on older version of gx.dll on your device.

Dan East
I'm glad the problem has been solved. Good luck with your game. :)