Jump to content

Recommended Posts

Posted

As sometimes I look at some code to translate to autoit using

DllCall, ObjCreateInterface, AutoitObject, DllStructCreate and so on...

Which are the parts that can't absolutely be translated?

For example, vectors like this?

vector< cv::Rect > faceVec;
           detectScale( faceVec );

and what else?

Posted

At least OO is quite present now through Autoit_Object.

Maybe also don't work some types with DllCall, for example receive a structure as a return type, ie:

(as a struct type CvScalar)
CvScalar  cvScalar(double val0, double val1 CV_DEFAULT(0), double val2 CV_DEFAULT(0), double val3 CV_DEFAULT(0))
can't work as:
DllCall($cvCore_dll, '   ??? :cdecl','cvScalar', 'double','10', 'double','0', 'double','0', 'double','0') ;

Is there some plans to make better DllCall and structs? Or generally integration with C?

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
  • Recently Browsing   0 members

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