Thank you Mark for the response. Appreciate your input.
Best
Wuping
-- Original Message --
From "Mark Hammond"
To "Wuping Xin" ; "python-win32@python.org"
Date 3/3/2025 10:24:18 AM
Subject Re: [python-win32] Python Active Scripting Debug
It ha
;AXDebug no longer builds on 3.11 and up"
include_dirs = self.compiler.include_dirs +
os.environ.get("INCLUDE", "").split(
os.pathsep
)
-- Original Message --
From "Wuping Xin"
To "python-win32@python.org" ; "Mark Hamm
.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of python-win32 digest..."
Today's Topics:
1. Python Active Scripting Debug (Wuping Xin)
--
Message: 1
Date: Sat, 0
Hi All,
I am trying to debug Python Active Scripting, using Visual Studio. I am
100% sure it should work but I just cannot get it work.
I've installed the debug symbols of the Python version, and installed
Visual Studio Python Native Development tools.
I also set the "Debugging" registry e
This is related the COM instance model implemented on the COM server
side, not on the client side. Specifically, in the start-up code of
the COM server application, there should be a call to
CoRegisterClassObject(CLSID, pUnk, dwClsContext, flags, &dwRegister).
The key point is the fourth param
Python 3.12 removed the module 'imp', but pyscript.py still relies on
'import imp' - this will lead to: ModuleNotFoundError: No module named
'imp'
pyscript.py", line 213, in InitNew
import imp
ModuleNotFoundError: No module named 'imp'
Solutions?
Wuping
___
Did you run your "wrapped exe" package on the same computer where the
package was wrapped, or on a new computer?
If it was running on a new computer, probably it won't work because
pywin32 is dependent on certain system registry entries. PyInstaller
does not seem to package the registry.
W
?
-- Original Message --
From "Wuping Xin" mailto:wup...@caliper.com>>
To "Python-win32@python.org<mailto:Python-win32@python.org>"
mailto:Python-win32@python.org>>
Date 6/29/2023 2:15:27 PM
Subject Python Active Scripting Error - should I ignore it?
When I runn
When I running a Python Active Script, DebugView captured the following
errrors - any advice?
[22076] File
"C:\Users\.\AppData\Local\Programs\Python\Python39\lib\site-packages\win32comext\axscript\client\framework.py",
line 729, in SetScriptSite
[22076] from . import debug
[22076] File
all.py)
> does not mention anaconda.
>
> The fact anaconda ships a version of pywin32 with it has caused problems
> though - maybe that's in a fork of theirs? If so, you need to ask them.
>
> Mark
> On 2023-06-07 9:18 a.m., Wuping Xin wrote:
>
> pywin32_postinst
pywin32_postinstall.py, line 406, "SKIP_ANACONDA", why?
Does that mean Anaconda is NOT whole-heartedly supported by pywin32?
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
Message --
From "Wuping Xin" mailto:wup...@caliper.com>>
To "Mark Hammond" mailto:mhamm...@skippinet.com.au>>
Cc "Python-win32@python.org<mailto:Python-win32@python.org>"
mailto:Python-win32@python.org>>
Date 4/17/2023 8:42:14 AM
Subject Re[
argspec(func).args) == 1:
return func()
else:
return func(*args)
Wuping
-- Original Message --
From "Mark Hammond"
mailto:mhamm...@skippinet.com.au>>
To "Wuping Xin" mailto:wup...@caliper.com>>
Cc "Python-win32@python.org<mailto:
)
Then we can make VBA, Delphi, C++ all clients happy.
Agree? Should I submit a pull request?
Wuping
-- Original Message --
From "Wuping Xin" mailto:wup...@caliper.com>>
To "Mark Hammond" mailto:mhamm...@skippinet.com.au>>
Cc "Python-win32@pyth
For the following code, the method "GetPerson" has no explicit argument (except
self).
class MyCOMObject:
_public_methods_ = ["GetPerson"]
#_reg_clsid_ = '{44ee76c7-1290-4ea6-8189-00d5d7cd712a}'
#_reg_desc_ = "My COM server"
#_reg_progid_ = "MyCOMObject"
def get_person(self):
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
I'd like to return another Python object, using a method of a COM
object defined using Python, something like below - is that doable?
For in process COM object defined through Python, is there any
limitation about the types that can be returned from COM method?
class Person:
_public_metho
ARNING EXTERNAL EMAIL
Feel free to put a PR up!
Cheers,
Mark
On 14/03/2023 3:10 pm, Wuping Xin wrote:
Thank you again Mark.
In framework.py, Line 223 - Line 235, I see that it only searches for [source,
default] interface on the coclass. That means, multiple even
ally create the Source/EventSink connection.
Wuping
-- Original Message --
From "Mark Hammond"
mailto:mhamm...@skippinet.com.au>>
To "Wuping Xin" mailto:wup...@caliper.com>>
Cc "Python-win32@python.org<mailto:Python-win32@python.org>"
mail
ilto:mhamm...@skippinet.com.au>>
To "Wuping Xin" mailto:wup...@caliper.com>>
Cc "Python-win32@python.org<mailto:Python-win32@python.org>"
mailto:Python-win32@python.org>>
Date 3/13/2023 8:45:37 PM
Subject Re: [python-win32] How to enable events for Py
ginal Message --
From "Mark Hammond"
To "Wuping Xin" ; python-win32@python.org
Date 3/12/2023 10:54:23 PM
Subject Re: [python-win32] How to enable events for Python Active
Scripting?
It's difficult to know what exactly you mean, but if it is how to use
IConnectionPo
I have a host application that uses Python Active Scripting. That host
application implements IConnectionPoint / IConnectionPointContainers
etc, and I am able to set COM event callbacks in C++.
But I am having a hard time to figure out how to set COM event callback
with Python Active Scripti
22 matches
Mail list logo