[python-win32] Callback RemQueryInterface gives E_NOINTERFACE

2013-12-15 Thread Jim Bell
I've been though all the demos and scoured the web, and am stumped. But I think I'm close. I have a 3rd-party .dll/.tlb. I run makepy.py and it works fine. I need to pass a callback interface, which they define, into one of their functions. Here's where I'm stumped. gencache.EnsureModule('{F8

[python-win32] how to access SHOpenFolderAndSelectItems() by ctypes

2013-12-15 Thread iMath
I want to build a cross-platform application ,I used a windows API called SHOpenFolderAndSelectItems(). Although I found example called it by pywin32,but pywin32 is not available on Linux , I don't want to call a Windows API on linux,just don't want to make another code version for Linux,so I wo

[python-win32] pywintypes.com_error: (-2147221164

2013-12-15 Thread 桌面事业部
Hi,All: Sorry to bother you. I have a python2.7 program,my pc's environment is win7,32bit.I want to use win32com,and I have installed win32com for python2.7. When I worte the code"xls = client.Dispatch("Excel.Application")",an error happened: Traceback (most recent call last): File "D:\JackieC

Re: [python-win32] Callback RemQueryInterface gives E_NOINTERFACE

2013-12-15 Thread Mark Hammond
On 15/12/2013 8:28 AM, Jim Bell wrote: I've been though all the demos and scoured the web, and am stumped. But I think I'm close. I have a 3rd-party .dll/.tlb. I run makepy.py and it works fine. I need to pass a callback interface, which they define, into one of their functions. Here's where I'm

Re: [python-win32] pywintypes.com_error: (-2147221164

2013-12-15 Thread Mark Hammond
On 15/12/2013 10:37 PM, WangMengNan(桌面事业部) wrote: Hi,All: Sorry to bother you. I have a python2.7 program,my pc's environment is win7,32bit.I want to use win32com,and I have installed win32com for python2.7. When I worte the code"xls = client.Dispatch("Excel.Application")",an error happened: