Re: Error handling. Python embedded into a C++ app.

2006-12-02 Thread Wolfram
Maybe of interest to people loking for a solution: I solved my issue by changing the program retroactively from a pure MFC app to a console one using this procedure: http://homepage3.nifty.com/ysflight/mfcconsole/mfcconsole.html I am still not sure why all of my other attempts failed, but most so

Re: Error handling. Python embedded into a C++ app.

2006-11-29 Thread Wolfram
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >You would use try: and then on the next line except: Thanks for the idea, but it did not help. I can not wrap every pythion line in python, so I wrote the following code on the C++ side: -- snip - try { i

Re: Error handling. Python embedded into a C++ app.

2006-11-28 Thread [EMAIL PROTECTED]
You would use try: and then on the next line except: I am not sure what the best answer is but you could write your errors to a file and then load them if all else fails. https://sourceforge.net/projects/dex-tracker Wolfram wrote: > I have a problem with displaying errors in an embedded situat