Page 1 of 1

Error Message

Posted: Tue Sep 20, 2016 10:30 am
by tonverra
Hi all,

Trying to simulate my program, but I am getting an error message. See attached picture.
Capture.PNG
Capture.PNG (3.97 KiB) Viewed 8493 times
Any ideas what can be wrong?

Thanks!

Re: Error Message

Posted: Thu Sep 22, 2016 7:44 am
by AMitchneck
I've had this issue before ... anywhere in your code where you specify an interface, dll, or whatever with a CF suffix will not work when you try to simulate your code on a PC as your PC does not have the compact framework components loaded.

How I got around this was to use precompile headers (ex #ifdef) to switch between CF version and non-CF version and define NOTCF in all relevant files when simulating. I couldn't find any other method in iX, such as create define if simulating versus release build.

Hope this helps.

Re: Error Message

Posted: Thu Sep 22, 2016 7:57 am
by tonverra
Thanks for the reply!

I think it is due to me using a VM to program the screens, never had an issue on my "native" machine.

Is there any way one could install the CF?