Re: [python-win32] Building win32 extensions to Python

2006-06-16 Thread James Carroll
> Thanks for your responses. I went ahead and tried MinGW. I was able to > build and use screengrabber and other examples. I also used it as an > example and created successfully a very simple "hello python" extension. Fantastic! they must be more (binary) compatable than I thought. > What am

Re: [python-win32] Is pure-win32 GetWindowPlacement() available ?

2006-06-16 Thread Pierre Rouleau
Roger Upole wrote: > Pierre Rouleau wrote: > >>I have been looking for a wrapper for the Win32 function >>GetWindowPlacement() but could not find it in the latest version of >>Python for Windows extension (version 208). I saw a reference to >>PyCWnd.GetWindowPlacement() where a MFC CWnd is n

Re: [python-win32] Building win32 extensions to Python - crash

2006-06-16 Thread Chris Botos
James Carroll wrote: >> Thanks for your responses. I went ahead and tried MinGW. I was able to >> build and use screengrabber and other examples. I also used it as an >> example and created successfully a very simple "hello python" extension. > > Fantastic! they must be more (binary) compatable

[python-win32] Fwd: Building win32 extensions to Python - crash

2006-06-16 Thread James Carroll
> Well, ... I've managed to crash python by using an "ostream" rather than > "printf". The code is below. If I replace the std::cout with a printf > the code works fine. The symptom is that the cout is flushed to the > console as it should be, then the python shell hangs. A few seconds > later

Re: [python-win32] Building win32 extensions to Python - crash

2006-06-16 Thread John Machin
On 17/06/2006 3:49 AM, Chris Botos wrote: > James Carroll wrote: >>> Thanks for your responses. I went ahead and tried MinGW. I was able to >>> build and use screengrabber and other examples. I also used it as an >>> example and created successfully a very simple "hello python" extension. >> Fan

Re: [python-win32] Building win32 extensions to Python (OT)

2006-06-16 Thread Bill Burns
Jim wrote: > My only hurdle is py2exe can't make a single executable > out of it... Py2exe can create a package with a dozen files, but I was > hoping for a nice tiny bundle. > Hi Jim, Have you tried bundling an app with py2exe and... 1). The resulting exe did not run properly or 2). You did