Jump to content
Sign in to follow this  
stefythebest

GUI and DLL

Recommended Posts

stefythebest

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

Share this post


Link to post
Share on other sites
stefythebest

please help me! Tell me if my post was wrong or any suggestion on what i can do... :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.