J
jaybo_nomad
OpenNetCF.org has a great article on accessing a DIBSECTION / HBITMAP from a
CF Bitmap: http://www.opennetcf.org/Articles/GdiObjects.asp
BUT, this code seems to be broken with CF SP1 and beyond (please correct me
if I'm wrong!). The author has noted that the code is inherently fragile
and relies on publicly undocumented internal CF datastructures and hasn't
yet provided an updated version.
I would guess that I am typical of a many software developers with an
existing body of C++ code they'd like to eventually move to CF. But given
CF's lack of graphics primitives I personally find this transition currently
untenable. However, as an interim step, it would be great to provide access
to an HBITMAP or HDC from managed code, allowing unmanaged code to do the
graphics and party on the screen from a CF application via PInvoke. Or just
save an image file which was the original motivation for the above article.
Such capability seems crucial to get existing apps quickly ported to
PocketPC and Smartphone, and I would like to hereby request that Microsoft
provide a legitimate means to allow access to GDI objects from CF.
Anybody else think this is a good idea?
CF Bitmap: http://www.opennetcf.org/Articles/GdiObjects.asp
BUT, this code seems to be broken with CF SP1 and beyond (please correct me
if I'm wrong!). The author has noted that the code is inherently fragile
and relies on publicly undocumented internal CF datastructures and hasn't
yet provided an updated version.
I would guess that I am typical of a many software developers with an
existing body of C++ code they'd like to eventually move to CF. But given
CF's lack of graphics primitives I personally find this transition currently
untenable. However, as an interim step, it would be great to provide access
to an HBITMAP or HDC from managed code, allowing unmanaged code to do the
graphics and party on the screen from a CF application via PInvoke. Or just
save an image file which was the original motivation for the above article.
Such capability seems crucial to get existing apps quickly ported to
PocketPC and Smartphone, and I would like to hereby request that Microsoft
provide a legitimate means to allow access to GDI objects from CF.
Anybody else think this is a good idea?