Skip navigation
Rick Schachter
Currently Being Moderated

Windows 7 crash

May 3, 2011 12:43 PM

I have modeless dialog box that contains several CControlView- derived widgets. The widget UIs are loaded from JPG files.

 

When InDesign is terminated, there is a crash in bib.dll. The crash only occurs in Vista and Win7.

 

The crash is caused by the following line...

     InterfacePtr<IImageReadFormat> pImageReadFormat(pImageFormatManager->QueryImageReadFormat(pFileStrea m)); BailIfFail(!pImageReadFormat)

 

I've tried a try/catch block, but that didn't help.

 

I've tried everything I can think of to try to fix this, including subclassing the application window procedure- where I monitored all the messages. I did discover the the CControlView::Draw method was never called after the app was terminated.

 

So to say I'm puzzled would be an understatement.

 

The identical code running on CS3 and CS4 doesn't cause a problem in Win7.

 

Any insight would be appreciated.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points