I'm struggling through my first attempt to design in Windows CE. I created
a CE6 solution that contains an X86 OS Design Project. I want to add a
win32 project to this solution. I used File->Add->New Project and selected
Smart Device as the type and Win32 Smart Device Project as a template.
Clicking OK gave an informational window and I clicked Next where I was
given a choice of Pocket PC 2003 (instruction set ARMV4), Smartphone 2003
(instruction set ARMV4), or Platform Builder-Specific (instruction set
_TGTCPU). I don't understand what the instruction set choices mean
especially since I only requested support for X86 and SH4 at installation
time. All I really want to do is port a simple command line VC6 app to CE6.
How do I make sense of the instruction set choices or is there a better way
for me to do the port?

Dick

Re: Can't properly add project to CE6 solution by Doug

Doug
Tue Feb 06 23:34:53 CST 2007

The instruction set choices reflect the devices for which Visual Studio has
an installed SDK. It seems that you have installed the Pocket PC and
Smartphone SDKs that came with Visual Studio. The remaining SDK is the
magical "Generic SDK".

Platform Builder is used to create a customized operating system for a
customized device. Many APIs in the operating system can be removed to make
the operating system smaller. Those APIs need to be removed from the SDK for
the operating system. When you create a customized OS Design in Platform
Builder, one thing it does is create an SDK that reflects the APIs that are
present in the operating system you have created.

The Generic SDK tells Visual Studio to look in your OS Design to find the
SDK. So if you create a project that targets the _TGTCPU SDK, your project
will compile against whatever OS Design you've made in Platform Builder.
That OS Design could be X86 or SH4.

--
// StdDisclaimer.h
// This posting is provided "AS IS" with no warranties, and confers no
rights.
//
"Dick Dawson" <dd@dd.net> wrote in message
news:%23tGq5lkSHHA.496@TK2MSFTNGP06.phx.gbl...
> I'm struggling through my first attempt to design in Windows CE. I
> created a CE6 solution that contains an X86 OS Design Project. I want to
> add a win32 project to this solution. I used File->Add->New Project and
> selected Smart Device as the type and Win32 Smart Device Project as a
> template. Clicking OK gave an informational window and I clicked Next
> where I was given a choice of Pocket PC 2003 (instruction set ARMV4),
> Smartphone 2003 (instruction set ARMV4), or Platform Builder-Specific
> (instruction set _TGTCPU). I don't understand what the instruction set
> choices mean especially since I only requested support for X86 and SH4 at
> installation time. All I really want to do is port a simple command line
> VC6 app to CE6. How do I make sense of the instruction set choices or is
> there a better way for me to do the port?
>
> Dick
>


Re: Can't properly add project to CE6 solution by Dean

Dean
Thu Feb 08 09:20:19 CST 2007

A better solution might be to add a subproject to the OS design. This is
different than adding a full project to the Solution. It allows you to
include the application directly in the image instead of being a completely
independent entity.

Highlight your OS design (not the Solution), and then select Project | Add
New Subproject from the Visual Studio menu. Alternatively, right click on
the Subprojects folder in the Solution Explorer view and select Add New
Subproject from there.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Dick Dawson" <dd@dd.net> wrote in message
news:%23tGq5lkSHHA.496@TK2MSFTNGP06.phx.gbl...
> I'm struggling through my first attempt to design in Windows CE. I
> created a CE6 solution that contains an X86 OS Design Project. I want to
> add a win32 project to this solution. I used File->Add->New Project and
> selected Smart Device as the type and Win32 Smart Device Project as a
> template. Clicking OK gave an informational window and I clicked Next
> where I was given a choice of Pocket PC 2003 (instruction set ARMV4),
> Smartphone 2003 (instruction set ARMV4), or Platform Builder-Specific
> (instruction set _TGTCPU). I don't understand what the instruction set
> choices mean especially since I only requested support for X86 and SH4 at
> installation time. All I really want to do is port a simple command line
> VC6 app to CE6. How do I make sense of the instruction set choices or is
> there a better way for me to do the port?
>
> Dick
>