Search:
Namespaces
Discussions
.NET v1.1
Feedback
Portable Code Base for both Pocket PC's and Desktops
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework.interop
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...
Tarundeep Singh Kalra
Hi,
i am facing a peculiar problem with regards to Code Portability both on
Pocket PC and Desktops.
My company wants me to maintain the common code base for both the platforms.
Is .NET suitable for that ( Is WinCE.NET and .NET same).
Can we do it in SDK (pocket pc sdk and desktop SDK).
I need inputs from all of you.
Thanks a lot in advance.
--
Regards
Tarundeep Singh Kalra
www_dot_tarunsadhana_dot_com.
tarun_at_removeAT_tarunsadhana_dot_com.remove_dots
Reply to this message...
Stic (VIP)
Hi,
Rather not, because Pocet PC work on .Net Compact Framework with is
something like 'limited' framwork, that's why you wasn't be able to do a lot
of things. So your answer is - no :(
I yopu need more power from .NET Compact Framework try www.opennetcf.org
framework, some kind of "extension", to the basic functionality of .NET CF.
Anyway you could try to use classes of business logic both the same.
I do this when at Pocket PC I magage to separate the GUI from logic, and at
PC I did the same - then if you need to change for example customer input
form, there will be a change in 3 (not 4) places, at both Pocekt PC & PC GUI
and at business logic tier.
Anyway this isn't Framwork question anymore - but something like aritect
patterns ;-)
--
best regards
Stic
"Tarundeep Singh Kalra" wrote:
[Original message clipped]
Reply to this message...
Justin Beckwith
I have been going through a similar transition, moving from a desktop
application to a pocket app. The best advice I've gotten via
groups/msdn is to first develop the business logic for your compact
framework device, then user that dll in your desktop application.
That serves two purposes: 1.) you wont use an libraries that arent
available for compact framework (without an addon dll) and 2.) you can
import a smart device dll into a desktop app, but not vice versa. I
hope this was helpful, good luck!
"Stic" <
Click here to reveal e-mail address
> wrote in message news:<
Click here to reveal e-mail address
>...
[Original message clipped]
Reply to this message...
Ignacio Machin \( .NET/ C# MVP \)
Hi,
You can do it IF you do not include any platform dependand functionality.
This is almost impossible in the PPC as probably you need to P/Invoke.
Othen than that your PPC application will runs just fine in the desktop, of
course they will look small and the interface will be clumsy and not very
UI.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Tarundeep Singh Kalra" <
Click here to reveal e-mail address
sary>
wrote in message news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Chris Tacke, eMVP
It's very possible. CF assemblies will retarget to the desktop, so develop
and compile using the CF and it should (there are some exceptions) work fine
on the desktop.
-Chris
"Tarundeep Singh Kalra" <
Click here to reveal e-mail address
sary>
wrote in message news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Stic
And all the methodes names ? Database access, things like this ? Is there a
way to work in such a enviroment ?
--
best regards
stic
"Chris Tacke, eMVP" wrote:
[Original message clipped]
Reply to this message...
Chris Tacke, eMVP (VIP)
Yes, there are some changes (like with the Sql stuff) and P/Invoking needs
special attention, but it's all doable.
Take a look at the OpenNETCF.IO.Serial code - it works on a CE device and
the PC just fine.
www.opennetcf.org/sdf
-Chris
"Stic" <stefantura-at-poczta-dot-onet-dot-pl> wrote in message
news:
Click here to reveal e-mail address
...
> And all the methodes names ? Database access, things like this ? Is there
a
[Original message clipped]
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com