ActiveX_PDFWindow.py

I just spent some more time trying to find out why
wx.lib.pdfwin.PDFWindow crashes with Acrobat 7. This may take some help
from Adobe.

I noticed that the ProgID in pdfwin.py was old (it's now AcroPDF.PDF.1),
although the CLSID is the same, so I ran genaxmodule.py again. It
created a slightly different module, but the results were the same -- crash.

It crashes fairly early in the processing, in the LoadFile call. It has
checked the length of the file name and made a copy of it. It then
tries to fetch an object from a member variable in the AcroPDF object
and call one of its methods, but that object is NULL.

Is it possible that AcroPDF now expects some additional interface from
its ActiveX host, and wxPython isn't providing it?

···

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Tim Roberts wrote:

I just spent some more time trying to find out why
wx.lib.pdfwin.PDFWindow crashes with Acrobat 7. This may take some help
from Adobe.

I noticed that the ProgID in pdfwin.py was old (it's now AcroPDF.PDF.1),
although the CLSID is the same, so I ran genaxmodule.py again. It
created a slightly different module, but the results were the same -- crash.

It crashes fairly early in the processing, in the LoadFile call. It has
checked the length of the file name and made a copy of it. It then
tries to fetch an object from a member variable in the AcroPDF object
and call one of its methods, but that object is NULL.

Is it possible that AcroPDF now expects some additional interface from
its ActiveX host, and wxPython isn't providing it?

Yes, this is what my guess is as well, but I don't know where to go from here.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!