Print Page | Close Window

Disable WININET.DLL

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=7595
Printed Date: 27 November 2024 at 5:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable WININET.DLL
Posted By: Simon HB9DRV
Subject: Disable WININET.DLL
Date Posted: 13 July 2007 at 2:07pm

Hi,

 
I am trying to track down a crash inside a background processing thread where I read a webpage using functions in WININET.DLL.
 
I want to stop the framework skinning WININET.DLL, (a lifeform in its own right).
 
This is what I am doing - does it seem reasonable? In a future release please allow me a simple way of adding DLL's to the exclusion list.
CXTPSkinManagerApiHook* pApiHook = CXTPSkinManagerApiHook::GetInstance();

//
// Don't hook WININET.dll
//
_ASSERT(pApiHook);

if (pApiHook)
    pApiHook->ExcludeModule(_T("WININET.dll"), FALSE);

XTPSkinManager()->LoadSkin(strPath, strName);



-------------
Simon HB9DRV



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