Jump to content

GUI and DLL


 Share

Recommended Posts

Hi! I have a simple gui which calls a dll created with the opencv libraries, which manipulate an image.

I don't know if it is possible to pass a pointer to the image in the DllCall, for example the pointer to IplImage of Opencv.

Does anyone know how to pass an image pointer?

Thank you for your help! :)

Here is my code:

$dll2 = DllOpen("CannyEdge.dll")

$result = DllCall($dll2, "int", "CannyEdge", "str", "C:\Fiori_1.jpg")

DllClose($dll2)

and i would like to replace "C:\Fiori_1.jpg" with something like *image

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...