[python-win32] pywin32-specific version of SWIG

2011-03-28 Thread Amaury Forgeot d'Arc
Hi, pywin32 comes with a modified version of SWIG, but only in a binary form. To adapt pywin32 for PyPy, I need to so some modifications in swig.exe. (around the MAKE_PYCOM_CTOR macro) How is swig.exe built? Is the source code available somewhere? -- Amaury Forgeot d'Arc

Re: [python-win32] Connection to Oracle DB via TNSNames file

2011-03-29 Thread Amaury Forgeot d'Arc
libraries since I'm developing a tool within another piece of software and I doubt if other individuals will be able to download additional libraries. What did you try so far? Did you use odbc to connect to Oracle? -- Amaury Forgeot d'Arc ___ python

Re: [python-win32] Issue with win32evtlog.ReportEvent

2011-04-14 Thread Amaury Forgeot d'Arc
SWIG-1.1, the format char is hardcoded in the cpp source of SWIG (in Modules/Python.cxx):: case T_LONG : case T_ULONG: case T_SLONG : parse_args l; break; which is wrong of course. Was it ever considered using a newer version of Swig? -- Amaury Forgeot d'Arc

Re: [python-win32] Issue with win32evtlog.ReportEvent

2011-04-15 Thread Amaury Forgeot d'Arc
,FILE_GENERIC_READ, _wrap_python_const_FILE_GENERIC_READ); You now have: PyDict_SetItemString(d,FILE_GENERIC_READ, PyInt_FromLong((long) FILE_GENERIC_READ)); Which is a small improvement IMO. -- Amaury Forgeot d'Arc swig_pywin32.diff Description: Binary data

Re: [python-win32] win32event.WaitForMultipleObjects and sockets

2011-05-26 Thread Amaury Forgeot d'Arc
, FD_READ | FD_CLOSE) ... then socket_event may be used in WaitForMultipleObjects... WSACloseEvent(socket_event) -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32event.WaitForMultipleObjects and sockets

2011-05-26 Thread Amaury Forgeot d'Arc
with an initial state of nonsignaled. The handle of the event object returned cannot be inherited by child processes. The event object is unnamed. So it should be equivalent to:: win32event.CreateEvent(None, True, False, None) then it can be closed with win32api.CloseHandle(). -- Amaury Forgeot

Re: [python-win32] Problems with adodbapi

2011-10-04 Thread Amaury Forgeot d'Arc
() method? -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] iTunes control using win32.com

2011-10-11 Thread Amaury Forgeot d'Arc
and functions are really the same. Try to find the documentation related to iTunes.Application.CreatePlaylist for example. I'm sure that the corresponding examples will look similar to the code you showed earlier. -- Amaury Forgeot d'Arc ___ python-win32

Re: [python-win32] file descriptor issues using msvcrt.open_osfhandle()+os.fdopen()

2011-12-17 Thread Amaury Forgeot d'Arc
seems adequate here. -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] file descriptor issues using msvcrt.open_osfhandle()+os.fdopen()

2011-12-17 Thread Amaury Forgeot d'Arc
. -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] file descriptor issues using msvcrt.open_osfhandle()+os.fdopen()

2011-12-19 Thread Amaury Forgeot d'Arc
(fd) which called CloseHandle. f.close() is enough here! -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Problem with win32gui and WM_CREATE

2012-01-13 Thread Amaury Forgeot d'Arc
-win32-cant-catch-wm-create/20wttljqlnoxetnqqfzr3sdjdpya -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] win32file.CreateFile versus win32file.CreateFileW

2012-02-06 Thread Amaury Forgeot d'Arc
really need CreateFile? the plain open() function also accept unicode with Japanese characters... -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Modules installed in the Windows registry

2012-07-28 Thread Amaury Forgeot d'Arc
this way in the old times. Nowadays the same feature can be achieved differently, by using sys.meta_path for example. Is this feature still used? Where? Is it acceptable to not support it anymore, and suggest developers to use a more modern method? -- Amaury Forgeot d'Arc

Re: [python-win32] PyPy support

2012-09-17 Thread Amaury Forgeot d'Arc
demos, but that controlling an Excel Instance for example crashed at some point. Unfortunately I don't have access to any Windows machine anymore, but I would be happy to help anyone who wants to push this development further. -- Amaury Forgeot d'Arc

Re: [python-win32] Error starting Windows services using PYMQI

2013-02-07 Thread Amaury Forgeot d'Arc
that MQ Series Client libraries are installed, and available in the PATH environment variable. Oh, and since this is a service: this PATH should be set at the machine level, not at the logged-in user level. -- Amaury Forgeot d'Arc ___ python-win32 mailing

Re: [python-win32] Building 3.3.0 as static library

2013-02-12 Thread Amaury Forgeot d'Arc
of make_buildinfo.c to change that.) You can probably modify the make_buildinfo project instead. -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Dropping support for Python 2.3?

2013-04-28 Thread Amaury Forgeot d'Arc
. -- Amaury Forgeot d'Arc ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] howto get the typename of a comobject

2015-02-04 Thread Amaury Forgeot d'Arc
, but I think that print myobject displays the typename... Do you have a hint or small example? Thanks Anton ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 -- Amaury Forgeot