Mark,
Thanks for the feedback.
It might be worth making a call to
pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED) in the thread
which is doing this work.
Yes, I've tried both apartment and multithreading models (building the
DLL each way and using the corresponfing COINIT flag) -- no
It might be worth making a call to
pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED) in the thread
which is doing this work.
I *suspect* the problem will be related to when the import of pythoncom
happens in the 2 environments - when it is first imported, it will call
CoInitialize for
On Mon, May 24, 2010 at 8:25 AM, Mark Hammond wrote:
> On 22/05/2010 12:15 AM, George Doster wrote:
>
>> Hello All,
>>
>> I'm trying to write a Python program that uses a provided ActiveX
>> component. I have verified the component works ok with Visual Basic.
>>
>> I have used makepy to build the
OK, I have more information that may help. Looking into the code
invoked by IA.clsAuthorizeBatch(), I've found that the hangup occurs in
the call to pythoncom.new in CoClassBaseClass in
win32com\client\__init__.py.
Interestingly, if I run the code in the "main" Twisted thread, it
executes wi
Tim Roberts wrote:
> Bill Janssen wrote:
> > I'm actually not passing file names. I'm passing argument strings,
> > which may contain spaces, quotes, and other things. For instance,
> >
> >myprogram --title="That's the game! says Mike "Hammer" Brotsky"
> > --file=...
> >
> > "myprogram" is
If I Recall Correctly, the ActiveXCtrl class in wxPython does not use the
pywin32 tools, but a different package. That, along with no plans to migrate
to Python 3, is why my own work is migrating away from wxPython. Too bad,
too. I rather liked wxPython.
--
Vernon Cole
On Mon, May 24, 2010 at 7:
Bill Janssen wrote:
> I'm actually not passing file names. I'm passing argument strings,
> which may contain spaces, quotes, and other things. For instance,
>
>myprogram --title="That's the game! says Mike "Hammer" Brotsky" --file=...
>
> "myprogram" is a Python program, and expects to get th
On 22/05/2010 12:15 AM, George Doster wrote:
Hello All,
I'm trying to write a Python program that uses a provided ActiveX
component. I have verified the component works ok with Visual Basic.
I have used makepy to build the import module for my ActiveX component.
I can successfully load the com