Managed C++ and the Compact .Net Framework

R

Roland Rosier

Hello,

I am trying to use Managed C++ and the
Compact .Net Framework on a Windows CE.Net 4.2
device. As far as I can tell, to use managed
C++ you add the /CLR option to the C++ compiler
and it will then generate MSIL from C++.

I can use this option to compile code to the
MSIL that will run on the full .Net Framework
on my Windows XP PC, but I cannot seem find any
way to generate MSIL that will run on the Compact
..Net Framework on Windows CE.Net. If anyone
has succeeded in running MSIL compiled from Managed
C++ on a Windows CE.Net system, could they please
point me in the right direction ...

Best Regards,
Roland Rosier
 
T

Tian Min Huang

Hi,

It seems that your project is normal .NET application instead of Smart
Device Application. Do you have Smart Device Extensions installed? I
believe the following articles are very helpful:

Getting Started with Smart Device Extensions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnroad/html
/road04242002.asp

Getting Started with Visual Studio .NET and the Microsoft .NET Compact
Framework
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/netcfgetstarted.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
T

Tian Min Huang

Hello Roland,

Thanks for your response. According to the article in my previous post,
Visual C++ does not support SDE at this time, that is, we are not able to
create Visual C++ projects target Compact .NET Framework.

Based on my research, you may have to use eMbedded Visual C++ to develop
unmanaged application for CE.
Microsoft eMbedded Visual C++ 4.0
http://smartdevices.microsoftdev.com/Products/eMbedded+Visual+C++/defaul
t.aspx

BTW, in the future, it would be best to post these questions in the
following newsgroup.
microsoft.public.dotnet.framework.compactframework

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 

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