Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
- From: "Carsten Unterberg" <carsten.unterberg@xxxxxxxxxxxxxx>
- Date: Fri, 20 Mar 2009 11:05:15 +0100
Hey Thomas,
"Thomas Steinmaurer" <t.steinmaurer_dontbugmewithspam@xxxxxxxxxxx> schrieb
im Newsbeitrag news:etysDxTqJHA.4516@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
we are writing an .NET based application for Windows CE 6. This includes a
graphical user interface, reading data from the CAN bus, storing data in
SQL CE, ...
The primary target platform is Windows CE 6 with the .NET compact
framework, but ideally, the same application should also run on the
desktop (Windows XP) under the .NET framework, especially the graphical
user interface part for displaying measurement data. Although reading data
won't be from the CAN bus then, but from the COM port ...
Basically, are there any ideas, best practices for having one code base
and two target platforms (embedded and desktop)? How is that handled in
Visual Studio, ...
in my opinion, it is not so difficult to develop a program which runs on
both platform with the same case.
At first, you should know that you primary develop for the .Net Compact
Framework, which is just a subset of the Desktop-version. Visual Studio
handles is as an solution for smart devices.
If you just use 'plain' .Net-code without any platform invokes or stuff like
that, you program should run on the desktop without any problems. If you use
libraries for a special hardware that it becomes diffifcult.
If you have to use platform invokes, you should try to substitute the Api
calls for coredll.dll to Api calls for gdi32.dll or user32.dll, etc.
If you may have any questions, fell free to ask.
Regards,
Carsten Unterberg | Test-Framework
http://test-framework.blogspot.com/
.
- Follow-Ups:
- Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
- From: Thomas Steinmaurer
- Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
- References:
- Same codebase for Windows CE 6 and desktop (Windows XP)?
- From: Thomas Steinmaurer
- Same codebase for Windows CE 6 and desktop (Windows XP)?
- Prev by Date: Same codebase for Windows CE 6 and desktop (Windows XP)?
- Next by Date: Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
- Previous by thread: Same codebase for Windows CE 6 and desktop (Windows XP)?
- Next by thread: Re: Same codebase for Windows CE 6 and desktop (Windows XP)?
- Index(es):
Relevant Pages
|