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

Get help with using AutoHotkey and its commands and hotkeys
malcev
Posts: 265
Joined: 12 Aug 2014, 12:37

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

22 Jan 2019, 08:18

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

Return to “Ask For Help”

Who is online

Users browsing this forum: gwarble, joefiesta, malcev, takayo97, ulraf and 215 guests