compatibility CF and Full FrameWork

R

Romain TAILLANDIER

Hi group

If i develop an aplication on the CF,
will it work on the full framework ?

I suppose yes, can you confirm ?

thanks
ROM
 
P

Peter Foot [MVP]

Yes - as long as you don't use any .NETCF specific functionality - which
includes:-

System.Net.IrDA
Microsoft.WindowsCE.Forms
System.Data.SqlServerCe


Peter
 
B

Benjamin Lukner

Romain said:
If i develop an aplication on the CF,
will it work on the full framework ?

I suppose yes, can you confirm ?

I have several problems:

- Some functions work only if I merge the (binary) parameters with "Or"
instead of "+" (in CF both "or" and "+" work)
e.g.: Me.mvarFontStyleRegularUnderlined = New
System.Drawing.Font(Me.mvarFontName, Me.mvarFontSize,
System.Drawing.FontStyle.Regular Or System.Drawing.FontStyle.Underline)

- In the CF you can copy a bitmap on itself. This is not possible in the
full framework. There you have to use a second temporary bitmap (this is
the suggested solution also for CF!)

- The graphics routines in the full framework seem to be buggy :-(
MeasureString returns too high values and DrawString positions the text
up to 2 pixels apart from the stated position. In CF it works fine.

- If you use API, then you have to use "coredll.dll" for PocketPC and
"kernel32.dll", "user32.dll",... for regular Windows, of course.

- If I open a CF form in a Windows Application, then all controls are
shreddered (but why??)

But _generally_ a CF program also runs with full framework.


Benjamin Lukner
 

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

Top