Page 1 of 1

Is it possible to call c++ class methods from dll with AHK?

Posted: 22 Jan 2019, 08:18
by malcev
I want to call this c++ method from dll:

Code: Select all

ยง imread()
Mat cv::imread 	( 	const String &  	filename,
		int  	flags = IMREAD_COLOR 
	) 		
Python:
	retval	=	cv.imread(	filename[, flags]	)
https://docs.opencv.org/3.4.5/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56
Dll Export Viewer shows:

Code: Select all

class cv::Mat __cdecl cv::imread(class cv::String const & __ptr64,int)
NET Framework Interop (CLR, C#, VB) cannot load this dll - shows error.
https://www.autohotkey.com/boards/viewtopic.php?t=4633
Is it possible to call it from dll with ahk?
Dll for x64 here:
https://files.fm/u/92cd7pfq