Print Page | Close Window

Skin Framework Crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=19740
Printed Date: 21 May 2024 at 8:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin Framework Crash
Posted By: sirhaden
Subject: Skin Framework Crash
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net