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