[AHK_H v2] 'ComObjConnect' Thread direct connection
Posted: 06 Jan 2018, 16:04
Is there a way to connect " ComObjConnect(test....)" to the " _ test " in the thread to obtain a direct "Test_EventName([Params..., ComObject]) "?
......................................................
......................................................
Code: Select all
ComObjConnect(Test, "Test_ ..................... ")
ThreadList:='
(
#Persistent
#SingleInstance Force
Test_EventName([Params..., ComObject])
{
msgbox "... event-handling code ...test"
}
)'
Thread:=ExeThread(ThreadList)