PocketPC / Windows CE.NET differences

G

Guest

Hi, I've got a question regarding the .NET CF; Why does MarshalAs compile & work in a PocketPC project, and does not for a Windows CE.NET project? Surely they both use the same Framework

I'm using VS.NET 2003, .NET v1.1 (CF v1.0)
 
G

Guest

Hi

Good question....And I also would like to know of the programming differences..

I started a thread a couple of days ago about the TypeLoadException that I got when I loaded my CAB onto a WinCE.Net 4.2 device (which I initially developed for the PPC). I tried to remove some the known PPC specific code/components such as Task Bar, SIP. But this was to no avail as I still didnt get it to work in WinCE device. is the 'Cursor' also PPC specific? What about P/Invoking? I do very little (eventually took out all P/Invoke).

Dont mean to divert your question Jon

Thanks in advance.
 
A

Alex Yakhnin [MVP]

Jon,

MarshalAs works on either platform. There must be something with your code
that's using something specific to Pocket PC.

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

Jon Brunson said:
Hi, I've got a question regarding the .NET CF; Why does MarshalAs compile
& work in a PocketPC project, and does not for a Windows CE.NET project?
Surely they both use the same Framework?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top