Multiple ActiveX VLC controls in MFC application
Posted: 10 May 2006 16:10
In my MFC C++ application I am trying to have two VLC activex controls side by side for multiple stream viewing. Everything works great until I shut down the application.
When the application is shutting down and the controls are being released I get an exception. The first VLC control CWnd.DestroyWindow() works fine, but the second takes an exception because it appears to be pointing to already released memory.
This could be an issue in my code, I am not sure. I was just wondering if anyone else was doing this with success? Could there be something in the activex control where it is sharing memory between the two controls?
Thanks for the help,
Ehren
When the application is shutting down and the controls are being released I get an exception. The first VLC control CWnd.DestroyWindow() works fine, but the second takes an exception because it appears to be pointing to already released memory.
This could be an issue in my code, I am not sure. I was just wondering if anyone else was doing this with success? Could there be something in the activex control where it is sharing memory between the two controls?
Thanks for the help,
Ehren