Re: [C++-sig] console I/O

2008-11-24 Thread Alan Baljeu
iginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Seefeld Sent: Monday, November 24, 2008 2:49 PM To: Development of Python/C++ integration Subject: Re: [C++-sig] console I/O Alan Baljeu wrote: > I followed the directions there, but that is incomplet

Re: [C++-sig] console I/O

2008-11-24 Thread Scott VanSickle
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Seefeld Sent: Monday, November 24, 2008 2:49 PM To: Development of Python/C++ integration Subject: Re: [C++-sig] console I/O Alan Baljeu wrote: > I followed the directions there, but that is incomplete. I can printf from C >

Re: [C++-sig] console I/O

2008-11-24 Thread Stefan Seefeld
Alan Baljeu wrote: I followed the directions there, but that is incomplete. I can printf from C to the console, but print from Python does nothing. Something in the Python API must be employed. But perhaps I should take this to the main Python list. Definitely. Regards, Stefan

Re: [C++-sig] console I/O

2008-11-24 Thread Alan Baljeu
Panicker <[EMAIL PROTECTED]> To: Development of Python/C++ integration Sent: Thursday, November 20, 2008 12:33:38 AM Subject: Re: [C++-sig] console I/O This is a win32 API issue, not a boost::python issue per se. You need to redirect "CONIN$" and "CONOUT$" to stdin and std

Re: [C++-sig] console I/O

2008-11-19 Thread Renji Panicker
This is a win32 API issue, not a boost::python issue per se. You need to redirect "CONIN$" and "CONOUT$" to stdin and stdout respectively. See here: http://comsci.liu.edu/~murali/win32gui/Win32Apps.htm -/renji On Thu, Nov 20, 2008 at 2:59 AM, Alan Baljeu <[EMAIL PROTECTED]> wrote: > I have embed

[C++-sig] console I/O

2008-11-19 Thread Alan Baljeu
I have embedded python in a Windows app. For development purposes, this program creates a console window, then calls a python script which calls print. I don't see any output. I'm thinking the problem is I need to do something to redirect Python internal settings for stdin and stdout. This is