Jump to content
Sign in to follow this  

Which code can't be translated to autoit?

Recommended Posts


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?

Share this post

Link to post
Share on other sites

As far as I know Classes can't be used

for example GDI+ ones:


Also multithreading can't be done (natively and simply).

Also look here


Share this post

Link to post
Share on other sites

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?

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