Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i call dll with lvrefnum *image from vb6

how can i call dll with lvrefnum *image from vb6.
 
i created a dll as in the attachment and i want to use this dll in vb6. This code gets an image from "d:\a.jpg" directory and displays the image in grayscale.  Can you send me a sample code as an addition?
0 Kudos
Message 1 of 2
(6,869 Views)

Assuming that you don't need to do anything with that pointer aside from pass it around, you can declare that parameter as a "ByVal Long image" in your declaration.  Declare a variable (as a Long) to pass in to the image parameter. 

 

0 Kudos
Message 2 of 2
(6,859 Views)