Hi,
im currently try to implement a fingerprint scanner in a programm. Now one functions returns a hbitmap handle. i know this is a reference to the memoryblock where the image data is. but how can i get this image as a pixmap?
createStaticPixmap needs a byte pointer and i only got the handle as integer.
can anyone help me please, i'm sure this is easy but i dont get it.
im currently try to implement a fingerprint scanner in a programm. Now one functions returns a hbitmap handle. i know this is a reference to the memoryblock where the image data is. but how can i get this image as a pixmap?
createStaticPixmap needs a byte pointer and i only got the handle as integer.
can anyone help me please, i'm sure this is easy but i dont get it.
Local handle Print hdc Print GrCapRawImageToHandle(rawImage , width , height , hdc , Varptr handle) Local pixmap = CreateStaticPixmap(Byte Ptr(handle) , width , height , Width * 3 , PF_BGR888) DrawPixmap(pixmap , 0 , 0) 'crash ... system surface failed