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/

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to