MultiFramework project in VS2003

  • Thread starter Thread starter DesiGUY
  • Start date Start date
D

DesiGUY

Hi Gurus:

I developed a CF(compact framework) applicaiton and it works like a
charm. Now, I'm told by my manager to develop the same for the Desktop.

I was thinking to build a solution with 2 projects(1 CF, 1 Full F). So,
it would like one EXE for both Device and Desktop.
During application startup, I would check for the Operating
System(whether WinCE or Win32NT) and run appropriate project.

if (OS == WinCE) RUN(Device project)
else if (OS == Win32NT) RUN(Desktop project)

How to acheive this? Many thanks in advance.
 
The UI will likely be very different, so I'd recommend using an entirely new
project for the UI side of things. Class Libraries compiled for the CF are
retargetable to the desktop, so you cn just add a reference to them from
your FFW project and use them that way.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
Back
Top