How to port windows applications to compact framework applications?

  • Thread starter Thread starter miloszl
  • Start date Start date
M

miloszl

Hi. Is ist possible to port a Windows Application develpoed with .Net
Framework to a Compact Framework application?
It is possibe to do it with a script or an plugin?
What is about developing of software that i can use on Windowsmobile
and Windows OS at the same time?

thx

Milosz
 
You can't "port" it with a script. There's a lot that is not supported in
the CF, plus the UI will be quite different. The best bet is to create a
new empty project, load in your source, hit compile and then start walking
through the errors.

CF assemblies are retargetable to the desktop. Daniel Moth's blog has a
good interop entry so Google that for more pointers.

--
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
 
You can also use Conditional compilation. Use two different Solution and
Project but use the same source files. This would allow you to develop
semi-simultaneously for both platforms. I recommend that you stray from
using the same source file for windows forms though.

Thanks,

Matt
 
Hi. Is ist possible to port a Windows Application develpoed with .Net
Framework to a Compact Framework application?
It is possibe to do it with a script or an plugin?
What is about developing of software that i can use on Windowsmobile
and Windows OS at the same time?

thx

Milosz

While it is likely that you'll be able to reuse a large chunk of your
existing business logic code, the user interface development should be
considered a new project. User interfaces that are good on the desktop are
not appropriate on a mobile device. Not only do you have to consider the
obvious space constraints, but there are issues like not having a keyboard
and using a stylus instead of a mouse. It isn't difficult to build a good
mobile UI, it is just a different thought process.

-david
 
Back
Top