On Feb 10, 2008 3:58 PM, Roman Yakovenko <[EMAIL PROTECTED]> wrote: > On Feb 8, 2008 7:05 PM, Thomas Heller <[EMAIL PROTECTED]> wrote: > > I have committed a fix to SVN (maybe I should say hack) which apparently > > resolves > > this problem. Please get comtypes from svn, clear the contents of your > > comtypes\gen directory, and try again. The attached little script that I > > wrote, > > inspired by the "DIA SDK\Samples\dia2dump.cpp" program works for me and > > prints some information about .pdb files. > > > > Thanks for the heads-up, > > Thank you very much. I missed the reply. I will try it ASAP.
Good evening. The code generation works fine. I was able to create main object DiaSource, but for some reason I was not able to call "loadDataFromPdb" method. I've got "AttributeError: 'DiaSource' object has no attribute 'loadDataFromPdb'" exception. Can you attach the script you created? I am sure I am doing something wrong. msdia = comtypes.client.GetModule( r'D:\Program Files\Microsoft Visual Studio .NET 2003\Visual Studio SDKs\DIA SDK\bin\msdia71.dll' ) ds = msdia.DiaSource() ds.loadDataFromPdb('xxx.pdb') Thanks -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users