Skin Framework Crash |
Post Reply |
Author | |
sirhaden
Groupie Joined: 19 February 2010 Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 10 May 2012 at 10:37am |
I have an MFC application that loads a non-MFC based ActiveX control by instantiating a new CWnd object and then using its CreateControl method. When switching skins, the application crashes sometimes when switching skins.
The ActiveX control uses DirectShow and is a custom player control. Based on the crashes and call stack, it appears that the skinning functionality is interfering with the DirectShow functionality. I've tried using the ExcludeModule method on the skin manager to exclude all of my DLLs, including the custom ActiveX control DLL, quartz.dll, and several other DirectShow related DLLs, but the crashing continues. I would like to exclude the CWnd object from skinning that hosts the custom ActiveX control via the CWnd::CreateControl method. How would one exclude a specific instance of a CWnd object? Or is there a better approach to prevent the skin framework from interfering with the custom ActiveX control and integrated DirectShow functionality and stop the application crashing?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |