Re: [python-win32] in-process COM DLL in Python

2023-04-15 Thread Wuping Xin
Forget it. I figured it our by looking into Chapter 12 of the Book - Python Programming On Win32. What a Bible it is. Cheers. -- Original Message -- From "Wuping Xin" To python-win32@python.org Date 4/15/2023 5:27:47 PM Subject in-process COM DLL in Python I'd like to return anot

Re: [python-win32] in-process COM DLL in Python

2023-04-15 Thread Mark Hammond
You should be able to wrap a Person object - something like ob = win32com.server.util.wrap(Person(...)) - and just return that. You probably don't need the VARIANT dance, it should just work based on the type returned being a Dispatch wrapper. HTH, Mark On 16/4/2023 7:27 am, Wuping Xin wrote