[Python.NET] Re: How to run in STA without spawning an extra thread
[email protected] Tue, 19 May 2020 00:53:32 -0000
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <[email protected]> |
Ah I can answer the questions myself: Run the following sequence BEFORE "import clr": import ctypes ctypes.windll.ole32.CoInitialize(None) _______________________________________________ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: [email protected]