Re: fputs in tp_print crashes under Win32

2008-11-14 Thread Gabriel Genellina
En Wed, 12 Nov 2008 08:58:05 -0200, Petr Gotthard <[EMAIL PROTECTED]> escribió: Hello, my C++ extension crashes under Win32 when the tp_print is called. It crashes with both Python 2.5.2 and 2.6. The crash occurs in system32\ntdll.dll, with exception code 0xc005. I found out that this wo

fputs in tp_print crashes under Win32

2008-11-12 Thread Petr Gotthard
Hello, my C++ extension crashes under Win32 when the tp_print is called. It crashes with both Python 2.5.2 and 2.6. The crash occurs in system32\ntdll.dll, with exception code 0xc005. I found out that this works fine: int ulonghandle_print(RtiULongHandleObject *v, FILE *fp, int flags) {