InvalidProgramExecution exception

  • Thread starter Thread starter Floyd Burger
  • Start date Start date
F

Floyd Burger

Are the PocketPC binaries compatible with the WinCE device?

I'm getting the InvalidProgramExecution exception in my project. The
project is a PocketPC SmartDevice project running on a WinCE device. On a
PocketPC, it's all running great. I can compare a PocketPC project's binary
against an identical WinCE project binary (using the ClassLibrary project so
differences in the UI are not present), and there are a few differences, but
are the differences enough to cause this exception?
 
CF dlls will run on all WinCE devices. Having said that, does your dll have
any pinvokes? E.g. if you are pinvoking aygshell and it is missing from your
custom device, you will get errors... Try the dll in the 4.1 emulator that
ships with VS and see what you get there. Apart from that, actually
debugging your problem is always the best way..identify which line of code
causes the error.

Cheers
Daniel
 
Back
Top