J
Joachim Fuchs
Hi,
I tried to use OpennetCF's GraphicsEx.DrawLine, but it didn't run on an
iPAQ. DrawLine uses the simple GDI-Functions LineTo and MoveToEx. They are
defined in Opennetcf.Drawing.GDIPlus.cs like this:
[DllImport("Coredll.dll")]
public static extern int LineTo(
IntPtr hdc,
int nXEnd,
int nYEnd);
[DllImport("Coredll.dll")]
public static extern bool MoveToEx(
IntPtr hdc,
int X,
int Y,
ref POINT lpPoint);
While they work fine on the Emulator and a Toshiba PDA, I get a
MissingMethodException an the iPAQ device. I can't believe, that these
methods are not implemented on the iPAQ since I can draw lines using the
standard Graphics.DrawLine Method.
What's wrong with LineTo and MoveToEx?
Thanks,
Joachim
I tried to use OpennetCF's GraphicsEx.DrawLine, but it didn't run on an
iPAQ. DrawLine uses the simple GDI-Functions LineTo and MoveToEx. They are
defined in Opennetcf.Drawing.GDIPlus.cs like this:
[DllImport("Coredll.dll")]
public static extern int LineTo(
IntPtr hdc,
int nXEnd,
int nYEnd);
[DllImport("Coredll.dll")]
public static extern bool MoveToEx(
IntPtr hdc,
int X,
int Y,
ref POINT lpPoint);
While they work fine on the Emulator and a Toshiba PDA, I get a
MissingMethodException an the iPAQ device. I can't believe, that these
methods are not implemented on the iPAQ since I can draw lines using the
standard Graphics.DrawLine Method.
What's wrong with LineTo and MoveToEx?
Thanks,
Joachim