I gave up trying to search this site for related questions -- decided to just ask my own Q and see if I get a response. I am pretty desperate for help.
I am working on a form-view based application that loads Quicktime movies and rtf files. I am able to load and display the text files in a RichEditCtrl with no problems. I can load a single-frame movie repeatedly with no problems, using both a hand-rolled QT-wrapper class and a commercial ActiveX QT player.
The problem is, when I load the 'real' videos, I get a fairly consistent access violation. The way the program works is it switches between 3 modes -- text, sign-language video, and animation video (both in QT format). After loading a few videos and/or switching between text and video mode, it almost always crashes (running in Debug mode).
I had been optimistic that using a commercial QT player would solve the problem, but it did not help. When the crash occurs, the call stack always shows the following:
And VC++ always breaks into disassembly garbage that I can't decipher.
I have set breakpoints up the wazoo trying to isolate what sets it off, but it seems to happen after any of my code is run. Obviously memory is being overwritten somewhere and it doesn't crash until a bit later, and it seems to be related to opening movie files, but how can I isolate it further? (And ultimately fix it?)
Thanks in advance for any help or suggestions..