Zurück zu Willert.de

Microsoft Windows CE 6.0

For questions around OS environment, the OXF or RTOS Adapter Layer

Microsoft Windows CE 6.0

Postby shanz » March 8th, 2011, 12:05 pm

I want to use the MicrosoftWinCE600 environment but using the Visual Studio 2008 compiler (VC9) instead of the VS2005 compiler (VC8).
I'm hoping someone else might have done this or knows how to do it!

Well, I got it building a WinCE 6 app using VS2008's compiler.
I had a couple of problems...
One was similar to this thread Link: [http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/fbae6f2a-4fc0-4610-a4b7-3d3d6bc6ac7e/].
I renamed sal.h in C:\Program Files\Windows CE Tools\wce600\<projectName_SDK>\Include\Armv4i.
The other meant I had to add yet another include path to Visual Studion 9.0/VC/include (ie: NOT just ...9.0/VC/*ce*/include).

Unfortunately, one of my reasons for wanting to use VS2008's compiler, namely the /MP compiler option to speed-up our builds doesn't work in Windows CE's version of cl.exe! Bit of a blow that. So as VS2005's compiler is much quicker, I'm going to abandon the change and stick with VS2005.

But if anyone ever wants to use VS2008's compiler with WinCE 6 then it is do-able and I've raised an Enhancement Request (ID 9832) with IBM Rational to add a new environment maybe called MicrosoftWinCE600VC9.
shanz
 
Posts: 180
Joined: May 7th, 2008, 5:50 pm
Location: Horsham, W Sussex, England

Return to Framework

Who is online

Users browsing this forum: No registered users and 2 guests