Bitmap Handle in CF?

DiscoJimmy

Member
Joined
Oct 16, 2003
Messages
8
Does anyone know how to get a handle to a .NET Bitmap object in Compact Framework? The GetHBitmap method is obviously missing, and Im not familiar with API stuff much. I can call SHLoadDIBitmap(filename), and that works for a file, but I need a handle to a Bitmap created on the fly, such as:

Bitmap bmp = new Bitmap(200,200);

Im planning on passing this hBitmap to a C++ .DLL and cant find anything that doesnt give me a null hBitmap, or one that points to a black square.

Thanks for any help.
 
Back
Top