LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GetDC and BitBlt in Labview C DLL

Hey,

Can i get the dll? or the full dll code?

Thanks.

0 Kudos
Message 11 of 35
(2,536 Views)
Hi HaD,
which dll do you mean. The gdi32.dll is in the Windows/System32 folder. The GetDC function is afaik in the user32.dll.
 
Hope it helps.
Mike
0 Kudos
Message 12 of 35
(2,514 Views)
I want to Convert HBITMAP Handle (i got the handle in labview I32), to Pixels array (In labview).
0 Kudos
Message 13 of 35
(2,507 Views)
George Zou created a VI "Bitmap handle to Image Cluster" that he sells as part of Image Toolbox.  I started using both Image and G Toolboxes a few months ago and haven't looked back.  (Thanks George.)
 
Info:
 
Image Toolbox ($29.99):
 
https://secure.element5.com/shareit/product.html?productid=200293
 
 

Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
Message 14 of 35
(2,503 Views)
GetDIBits does that (in GDI32.dll).

Regards,

Wiebe.


0 Kudos
Message 15 of 35
(2,473 Views)
Can you please give me a VI with DLL call function library that is defined properly? (i dont know what variables should be U32, I32, pointers etc...)
 
Thanks.
0 Kudos
Message 16 of 35
(2,471 Views)

Hi Had,

see the attached picture, it shows how i call the GetDIBits function.

Hope it helps.
Mike

Message 17 of 35
(2,469 Views)
Tnx, it looks ok.
0 Kudos
Message 18 of 35
(2,458 Views)
Here it is as a one-liner.
 
Regards,
 
Wiebe.
0 Kudos
Message 19 of 35
(2,445 Views)
Why is lvpBits a I32? It should be a pointer to an array. Or is it a
previously obtained pointer?

Anyway, I'll post an example.

Regards,

Wiebe.


0 Kudos
Message 20 of 35
(2,443 Views)