all groups > dotnet compact framework > november 2005 >
You're in the

dotnet compact framework

group:

Running the same executable on both windows CE and "normal" windows platforms


Running the same executable on both windows CE and "normal" windows platforms oen99001 NO[at]SPAM student.mdh.se
11/9/2005 10:57:31 PM
dotnet compact framework: Hi,

I going to develop a GUI application that will run on windows CE
primarily but it should also be executed on "normal" windows platforms.
My question is therefore if it is possible to delevop a GUI application
with Compact Framework (using a Smart Device project) and then run that
executable on a "normal" windows platform? Or do I have to make another
project using the same code for "normal" windows or isn't even that
possible? I have found a course homepage that run a very simple GUI
application made for Pocket PC in windows XP. The adress is
http://aass.oru.se/~tpy/pda/2005-2006-p12/lektioner/lektion-06/index.html
(swedish homepage). The problem is that everyone else I have talk to
says that is wont be possible to do that. Is there anyone here that
have tried doing this or am I braking new ground here? :)

/Ola E
Re: Running the same executable on both windows CE and "normal" windows platforms Paul G. Tobey [eMVP]
11/10/2005 8:15:09 AM
Yes, that is possible. Whether it's a good idea or not may be another
matter. Since it's built for a small device with a small screen, you'd have
to build the code to adjust that to run on the desktop machine (or have the
smallest window in the history of Windows XP). If the UI isn't that
extensive, I think it's a waste of time to try to make one set of code to
run on such different platforms. If you've got network code that the
application runs, you should be able to easily move that back and forth, so
you're keeping the business logic part of the code common...

Paul T.

[quoted text, click to view]

Re: Running the same executable on both windows CE and "normal" windows platforms Daniel Moth
11/10/2005 9:01:52 PM
Read these:
http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html
http://www.danielmoth.com/Blog/2004/09/retargetable-256.html

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

[quoted text, click to view]

AddThis Social Bookmark Button