[Python-Dev] posixmodule.c patch- revision 43586
A.B., Khalid
abkhd at hotmail.com
Mon Apr 3 21:07:57 CEST 2006
According to MSDN, ShellExecute has only six parameters:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp
But in the posixmodule patch at:
http://mail.python.org/pipermail/python-checkins/2006-April/050698.html
it is passed seven:
"""
rc = ShellExecuteW((HWND)0, operation,
PyUnicode_AS_UNICODE(unipath),
PyUnicode_AS_UNICODE(woperation),
NULL, NULL, SW_SHOWNORMAL);
"""
Shouldn't that part read as follows? Or am I missing something?
"""
rc = ShellExecuteW((HWND)0,
PyUnicode_AS_UNICODE(woperation),
PyUnicode_AS_UNICODE(unipath),
NULL, NULL, SW_SHOWNORMAL);
"""
Regards,
Khalid
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
More information about the Python-Dev
mailing list