Same programs on windows xp and wm5?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I use the programs I created on VB.NET for windows xp - on my windows
mobile 5 device just with the compactframework?
 
No, if the application was compiled against the desktop framework it will
not work on the device. The reverse may be possible assuming your code
doesn't call into any device specific functionality e.g. System.Net.Irda etc
or P/Invokes.
In most cases it's impractical to use the same exe on all platforms, it can
make sense to share your logic in a dll (built as a .NETCF project) and then
have two different exes to provide platform specific UI.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top