468,316 Members | 2,123 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,316 developers. It's quick & easy.

pythoncom and dialog


I inherited a piece of code, that doesn't work anymore. It's a
One interface method opens a modal dialog ( OpenDialog() ), with the
other methods one can set the values for a ComboBox or query the input
of the user.

This COM-module is istantiated(?) via
within a windows application (btw it's called Prime Front Arena). The
scripting language for this application is Python.

The COM module works fine, when I call it from Excel via VBA or from
python directly.
When I call it from the mentioned application, sometime (not always)
the python statement st.OpenDialog() never returns and the application
is not responding anymore.
In the previous release of this appication this piece of code worked.
In the new release the app now using two threads, one thread for a
log-windows and one thread for all other windows.

I don't know if this a problem with pythoncom or a windows problem (two
threads, modal dialog), but when I debug it seems to me that it get
stuck somewhere in the pythoncom.dll


1) Does anyone have any hints for. I'm completly in the dark.
2) How can I compile a debug version of the pythoncom.dll by myself? I
downloaded the Zip-File, but when I try to open an *.dsp file, i get
asked for password (SafeSource)? What's that.

You see my windows skill are limited (but increased dramatically the
last days).

Thanks in advance

Nov 10 '06 #1
0 1011

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ashley | last post: by
2 posts views Thread by John J. Lee | last post: by
reply views Thread by gloom | last post: by
reply views Thread by Olaf Meding | last post: by
1 post views Thread by fraca7 | last post: by
reply views Thread by Gabriel Genellina | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.