David
Wed Mar 09 20:57:05 CST 2005
You can target the "STANDARDSDK_410" (that comes with eVC 4.0) and create a
program that will run on both Pocket PC and the Standard SDK Emulator. But
if you choose to target "Pocket PC" then it probably won't run on a custom
CE device (since the Pocket PC platform has features not included in Windows
CE). And a Pocket PC 2003 app won't work with older platforms based on older
version 4.1 platforms, because Pocket PC apps are version 4.2.
When you create new Project, choose "WCE Application".
>> "An application targeting a standard SDK for Windows CE.NET and built
>> for the - WIN32 (WCE X86 CPU cannot be run on the emulator device.
This may be because the eVC 4.0 emulators runs programs compiled for "Win32
(WCE Emulator)" and not "Win32 (WCE x86)". The eVC 3.0 emulators used the
"x86" setting.
So with eVC 4.0 choose target:
- Active WCE Configuration: Standard SDK
- Active Configuration: Win32 (WCE Emulator)
- Default Device: Pocket PC 2003 Emulator or STANDARDSDK_410 Emulator
There is really no such thing as a "pure" Win32 Windows CE application. As
Chris points out, an application developer should target a specific
platform. And every platform is different. Some Windows CE-based platforms
don't even have a display, so "Hello World" won't work on it.
The "Standard SDK" is for a standardized, common subset of features for
display-based devices. When an OEM builds a platform, they can include
support for the Standard SDK into their OS image. This means applications
you write for the Standard SDK will work on a variety of devices -- but only
if the board vendor has included the support in the OS image. See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/ceconUniversalSDK.asp
David
------
This posting is provided "AS IS" with no warranties, and confers no rights.
"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:%23MItCZAJFHA.3376@TK2MSFTNGP14.phx.gbl...
> No, you must target a CE platform. Using the Pocket PC SDK may work until
> you have the SDK from the OEM (though they could be vastly different as
> well). Also, the OEM SDK may not have any emulator support. Another
> option would be to make your own emulator image and SDK with Platform
> Builder (emulator edition is free, or nearly so). That's a lot of work if
> you've not used PB before though.
>
> --
> Chris Tacke
> Co-founder
> OpenNETCF.org
> Has OpenNETCF helped you? Consider donating to support us!
>
http://www.opennetcf.org/donate
>
>
> "Michele" <m.solazzi@libero.it> wrote in message
> news:5df133.0503080902.77a1f1d9@posting.google.com...
>> I'm new to WCE but I'm going to develop an application with PC/104
>> board in a few months.
>>
>> I've nearly chosen the target board (that will provide the SDK and a
>> WCE image so as to make things easier), and I'd like to develop a demo
>> without having the target.
>>
>> I first made an MFC application and debugged it correctly using the
>> standard emulator with EVC++4.0
>>
>> *** PROBLEM ***
>> Then I tried to make a pure WIN32 application ("Simple Hello World"),
>> but I cannot run it on a standard emulator, because I get the
>> following error dialog:
>>
>> "An application targeting a standard SDK for Windows CE.NET and built
>> for the - WIN32 (WCE X86 CPU cannot be run on the emulator device.
>> etc..."
>>
>> # I noticed that most of the WIN32 apps on the web are being emulated
>> by PocketPc2003 SDK, but is it correct to install it even if I won't
>> use those target devices?
>>
>> # Is there another way to make it work?