Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - General Crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

General Crash

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: General Crash
    Posted: 03 April 2007 at 10:18am
Thuis may not be due to Codejock's library, has anyone seen this? I am getting many errors of this type. This is the first wininet call during the program execution.
 
This is a background thread!

I have *not* called XTPSkinManager()->EnableCurrentThread(); as far as I can tell.
 
Digital_Master!CXTPSkinManagerApiFunction::ReplaceInOneModule+0xd7
Digital_Master!CXTPSkinManagerApiHook::HackModuleOnLoad+0x32
Digital_Master!CXTPSkinManagerApiHook::OnHookLoadLibraryA+0x62
WARNING: Stack unwind information not available. Following frames may be wrong.
wininet!InternetCanonicalizeUrlW+0x650
wininet!Ordinal101+0x21d
wininet!Ordinal101+0x2f
wininet!Ordinal101+0x12d
wininet!Ordinal101+0x19b
wininet!InternetUnlockRequestFile+0x1b7
wininet!InternetQueryDataAvailable+0x6ba
wininet!InternetOpenUrlA+0x5a9
wininet!InternetOpenUrlA+0x4cc
wininet!InternetCloseHandle+0x13b6
wininet!HttpAddRequestHeadersA+0x375
wininet!InternetOpenUrlA+0x13b
wininet!InternetOpenUrlW+0x7c
Digital_Master!CInternetSession::OpenURL+0xae
Digital_Master!CGetWebPage::Get+0x14b
Digital_Master!CBackgroundProcessingThread::WWVUpdate+0x39
Digital_Master!CBackgroundProcessingThread::ProcessData+0x1b0
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2007 at 10:20am
BTW - I guess I should post this under skinning.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2007 at 12:53pm
I'll dig into the source now, I wonder if I can tell XTPSkinManagerApiHook to ignore certain libraries?
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2007 at 12:56pm
Just one thing - this is a UNICODe project yet OnHookLoadLibraryA() has been called.
Simon HB9DRV
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2007 at 1:14am
Hello,
 
Simon, Skinframework quite specific classes, such errors we have to debug in our side to find problem...
 
try to call SetAutoApplyNewThreads(FALSE);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2007 at 3:05am
Originally posted by oleg oleg wrote:

Hello,
 
Simon, Skinframework quite specific classes, such errors we have to debug in our side to find problem...
 
try to call SetAutoApplyNewThreads(FALSE);
Hi - this is exactly what I have now done :-)

The problem cannot be reproduced 100% but I know it happens with wininet DLLs.
 
Maybe you could add an option to exclude hooking into specific DLLs, disabling wininet by default.
 
I guess this error occurs about 0.1% of the time, could it be a problem with skinning taking place in a background thread while also happening in the foreground?
 
Anyway - thanks for the excellent software and support, my users love it!
Simon HB9DRV
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2007 at 5:10am
Hello,
 
Yes, think you right, we will add option to exclude dlls.
 
Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.