Hello,
I'm trying to get a handle to a file using parseDisplayName:
sh = pythoncom.CoCreateInstance(shell.CLSID_ShellFSFolder,
None,
pythoncom.CLSCTX_INPROC_SERVER,
shell.IID_IShellFolder)objtup = sh.ParseDisplayName(None,1,"E:\extractimage\sheet.txt")
But I get an error:
""TypeError: an integer is required""
which I assume relates to the pbcReserved parameter. It wants a PyIBindCtx according to the documentation.
How do I create the correct value for this?
Any help appreciated.
Regard,
Guy
_______________________________________________ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
