Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Crash when showing xvid compression dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash when showing xvid compression dialog

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Crash when showing xvid compression dialog
    Posted: 22 November 2009 at 3:34pm
XTP 13.2.1.
 
When the skin manager is active, I get a crash when displaying the xvid configuration dialog. I've read about similar issues, so I figured I could disable the skin manager before displaying this dialog.
 
XTPSkinManager()->SetAutoApplyNewWindows(FALSE);
XTPSkinManager()->SetAutoApplyNewThreads(FALSE);
 
  AVISaveOptions() result :-(
 
XTPSkinManager()->SetAutoApplyNewWindows(TRUE);
XTPSkinManager()->SetAutoApplyNewThreads(TRUE);
 
Why do I get such artifacts? ... and then it crashes anyway:
 
 
At ThreadProcHook:
 
'TestApp.exe': Loaded 'C:\Windows\System32\xvidcore.dll', Binary was not built with debug information.
[ 0] type=I Q: 4 length: 64161Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 23 November 2009 at 5:24am
Hi,
 
try add
 
XTPSkinMaanger()->ExcludeModule("xvidcore.dll');
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2009 at 7:13am

I'll test that, but there are other codec configuration windows that might be displayed, so this is not good solution.

Please see attached sample. It crashes on Vista SP1 (32-bit). Instructions can be found in the source code. Press the "Filter" button!
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.141 seconds.