[pywin32-checkins] pywin32/com/win32comext/shell/src shell.cpp, 1.76, 1.77
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2010-10-23 05:21:32
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv12529 Modified Files: shell.cpp Log Message: Fix ShellExecuteEx on py3k Index: shell.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/shell.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** shell.cpp 18 May 2010 18:57:32 -0000 1.76 --- shell.cpp 23 Oct 2010 05:21:24 -0000 1.77 *************** *** 2294,2304 **** if (!PyWinObject_AsHANDLE(obhwnd, (HANDLE *)&info.hwnd)) goto done; ! if (obVerb && !PyWinObject_AsString(obVerb, (char **)&info.lpVerb)) goto done; ! if (obFile && !PyWinObject_AsString(obFile, (char **)&info.lpFile)) goto done; ! if (obParams && !PyWinObject_AsString(obParams, (char **)&info.lpParameters)) goto done; ! if (obDirectory && !PyWinObject_AsString(obDirectory, (char **)&info.lpDirectory)) goto done; if (obIDList) { --- 2294,2304 ---- if (!PyWinObject_AsHANDLE(obhwnd, (HANDLE *)&info.hwnd)) goto done; ! if (obVerb && !PyWinObject_AsTCHAR(obVerb, (TCHAR **)&info.lpVerb)) goto done; ! if (obFile && !PyWinObject_AsTCHAR(obFile, (TCHAR **)&info.lpFile)) goto done; ! if (obParams && !PyWinObject_AsTCHAR(obParams, (TCHAR **)&info.lpParameters)) goto done; ! if (obDirectory && !PyWinObject_AsTCHAR(obDirectory, (TCHAR **)&info.lpDirectory)) goto done; if (obIDList) { *************** *** 2309,2313 **** if (obClass) { info.fMask |= SEE_MASK_CLASSNAME; ! if (!PyWinObject_AsString(obClass, (char **)&info.lpClass)) goto done; } --- 2309,2313 ---- if (obClass) { info.fMask |= SEE_MASK_CLASSNAME; ! if (!PyWinObject_AsTCHAR(obClass, (TCHAR **)&info.lpClass)) goto done; } |