Re: [python-win32] win32com.client: Struggling with dynamic dispatch, behavior differs when debugging

2016-09-29 Thread Dominik Heller
Hi Tim, thanks for your reply, much appreciated. > Do you have an IDL file or a C++ header file? It might be possible for > you to build a type library. I do even have the complete C++ source. However I currently have no possibility to generate the IDL-files in an automated way and it's too much

Re: [python-win32] win32com.client: Struggling with dynamic dispatch, behavior differs when debugging

2016-09-30 Thread Dominik Heller
> That's odd. Is your application compiled with -DUNICODE? BSTR is > always Unicode, but LPCTSTR depends on the compiled character set. I > would expect it to be LPCWSTR. However, if it works for > "obj_2.SubObject.DoSomething", then that's not a problem. It's compiled with /D "_MBCS" so it sh