Print Page | Close Window

VB6-IDE crashes in Debug-Mode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=11399
Printed Date: 21 November 2024 at 7:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB6-IDE crashes in Debug-Mode
Posted By: Baldur
Subject: VB6-IDE crashes in Debug-Mode
Date Posted: 11 July 2008 at 7:55am
Since i'm working with 12.0.0, VB6-Ide crashes always in Form_Load-Event if there is a debug-breakpoint !
 
Call-Stack:
 
> 0c5ec057() 
  mfc42u.dll!5f8537cb()  
  mfc42u.dll!5f80e995()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c42363()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c42294()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c423ca()  
  VB6.EXE!004075e9()  
  VBA6.DLL!0fa91baa()  
  VBA6.DLL!0fa91e09()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c424f0()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c426ae()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c42552()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c737a4()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c71d01()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c71bed()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c71bf4()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c723d4()  
  mfc42u.dll!5f801edb()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04bd0621()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04bd0602()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c3fefe()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c72e40()  
  mfc42u.dll!5f801bc5()  
  mfc42u.dll!5f828e5a()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c73522()  
  mfc42u.dll!5f801b36()  
  mfc42u.dll!5f88cbac()  
  mfc42u.dll!5f801a8e()  
  Codejock.Controls.Unicode.v12.0.0.ocx!04c842b4()  
  user32.dll!7e368734()  
  user32.dll!7e368816()  
  user32.dll!7e37a013()  
  user32.dll!7e37a039()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fc16d9()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fcef6e()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fcf0a0()  
  user32.dll!7e368734()  
  user32.dll!7e368816()  
  user32.dll!7e378ea0()  
  user32.dll!7e378eec()  
  ntdll.dll!7c91e453()  
  user32.dll!7e3694be()  
  user32.dll!7e37c174()  
  user32.dll!7e37f40b()  
  VB6.EXE!004ba01d()  
  ntdll.dll!7c920202()  
  ntdll.dll!7c92017b()  
  ntdll.dll!7c9201bb()  
  user32.dll!7e37b326()  
  user32.dll!7e3778d0()  
  user32.dll!7e3778e0()  
  ntdll.dll!7c91e453()  
  user32.dll!7e38e1ad()  
  user32.dll!7e38e18a()  
  VCScroll.dll!030512e7()  
  Codejock.PropertyGrid.Unicode.v12.0.0.ocx!0c10ccae()  
  mfc42u.dll!5f801bc5()  
  VB6.EXE!004a96fc()  
  VB6.EXE!00403a47()  
  VB6.EXE!00403a60()  
  VB6.EXE!0040588d()  
  Codejock.PropertyGrid.Unicode.v12.0.0.ocx!0c14f89c()  
  ntdll.dll!7c920098()  
  user32.dll!7e368734()  
  user32.dll!7e368816()  
  user32.dll!7e37a013()  
  user32.dll!7e37a039()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fc16d9()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fcef6e()  
  Codejock.SkinFramework.Unicode.v12.0.0.ocx!03fcf0a0()  
  user32.dll!7e368734()  
  user32.dll!7e368816()  
  user32.dll!7e3689cd()  
  user32.dll!7e37a340()  
  user32.dll!7e3696c7()  
  VB6.EXE!0042f669()  
  VB6.EXE!0042f5c9()  
  MSO97RT.DLL!3078d393()  
  MSO97RT.DLL!3078d224()  
  VB6.EXE!0042f580()  
  VB6.EXE!00500afe()  
  VBA6.DLL!0fbb5525()  
  VBA6.DLL!0fbb52a4()  
  VB6.EXE!004294e4()  
  VBA6.DLL!0fbce5e1()  
  VBA6.DLL!0fc08034()  
This is regardless if i load a skin or not.
Only if i don't load a skin and set
 
            .AutoApplyNewThreads = False
            .AutoApplyNewWindows = False
i can debug my application.
This do not happen in 11.2.2.
 
For debuggingsolution i do the following:
 
Set in Project->Properties->Create an argument like "-skin".
 
At programstart insert following:
 
    If InStr(1, Command$, "-skin", vbTextCompare) = 0 Then
        With MySkin
            .ExcludeModule "msado15.dll" ' ADO-Runtime
            .LoadSkin App.Path & "\..\Style\FTStyle.cjstyles", "normalblue.ini"
            .ApplyOptions = xtpSkinApplyMetrics Or xtpSkinApplyColors Or xtpSkinApplyFrame
            .AutoApplyNewThreads = True
            .AutoApplyNewWindows = True
        End With
    Else
        With pSkin
            .AutoApplyNewThreads = False
            .AutoApplyNewWindows = False
        End With
    End If
Than you can debug in Form_Load-Event.



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