[python-win32] Memory access violation using pywin32 as WSH
Bob Kline
bkline at rksystems.com
Tue Nov 29 17:09:05 EST 2022
One more data point. I added a bit more to my logging and learned that the
seven calls to the ScriptItem constructor each time the macro is invoked
are for the seven global objects which the host application (XMetaL) makes
available to the scripts:
* FormDriver
* ActiveDocument
* Selection
* Application
* FormFuncs
* ResourceManager
So at least part of that puzzle is cleared up, though it's still somewhat
unsettling that only seven calls to ScriptItem.Close() are made, regardless
of how many ScriptItem objects have been instantiated during a session.
Cheers,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20221129/e262b530/attachment.html>
More information about the python-win32
mailing list