Hi guys
I am working with an embedded interpreter, how can I share an existing COM
object from the C api ?(without using the ROT)
Background:
The host process is VB6 with a C helper DLL.
I have stripped down the pywin32 library to compile directly into my helper dll
with just the COM access feat
Seems to be solved:
/lib/site-packages/pycom/__init__.py
def GetObject(Pathname=None, Class=None, clsctx=None):
...if Class is not None:
return GetActiveObject(Class, clsctx)
else:
#first check
Wondering if anyone might have an insight on this.
If we add a vb6 listbox to the ROT, and try to access it using GetObjectwe can
not access any of its methods with an error "Member not found"
import win32com.client
form1 = win32com.client.GetObject('PyComTest.Form1')
form1.caption = "hi from v