Getting traceback info from a Pythong call embedded in C

2001-11-20 Thread Paul Weimer
When I do a "PyErr_Fetch(&errobj, &errdata, &errtraceback)" I know how to manipulate errobj & errdata but not errtraceback. Thanks ___ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython

RE: Controlling win32 application

2001-11-15 Thread Paul Weimer
Just out of curiosity - how many others are trying to deal with screen-scrapes with Python? I've started a hllapi extension myself. Are there enough of us for our own mailing list (and therapy sessions) ? Paul -Original Message- From: Troy Noble [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Debug version of 2.2

2001-11-13 Thread Paul Weimer
I built a debug version of 2.2.0.a2 but when I try to use it I get an assertion error in dbgheap.c line 1044 expression "_CrtIsValidHeapPointer(pUserData)" after my call to Py_Initialize(). Did I mess something somewhere? ___ ActivePython mailing list [

RE: Displaying Dialog Boxes,etc. from embedded Python

2001-09-11 Thread Paul Weimer
ember 11, 2001 10:14 AM To: Paul Weimer; [EMAIL PROTECTED] Subject: RE: Displaying Dialog Boxes,etc. from embedded Python I don't know why tk is crashing, but if you're already using MFC you can always access MFC or low-level windows APIs directly from the win32 library and avoid a sec

Displaying Dialog Boxes,etc. from embedded Python

2001-09-11 Thread Paul Weimer
We're running Python from within an MFC application and would like to be able to interact woth the user from within the Python scripts. So far I've tried Tkinter but it blows up. Does anyone have any experience with this? ___ ActivePython mailing list [E

Embedding multiple independent Pythons

2001-02-22 Thread Paul Weimer
I have Python embedded in my program but have one problem. I use it in more than one place and would like to keep each instance seperate from each other. Is there a way to do this without a seperate thread? Will a seperate thread even work? Thanks ___ A

Threading issue?

2001-01-05 Thread Paul Weimer
Our scenario is this: OS is Win32. We have a C++ program which calls Python. I also uses a DLL which calls Python via COM and Windows Active scripting. If the program is compiled to use the Debug Multithread Runtime DLL everything works fine (it appears that the program loads python20_d.dll and th