Print Page | Close Window

Crash with 9.81

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4569
Printed Date: 12 December 2024 at 12:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash with 9.81
Posted By: jimmy
Subject: Crash with 9.81
Date Posted: 10 July 2006 at 4:54am
Hello,

SInce a year we have a functin Reset Pane Layout.
On program start we define the default layout.
this layout we save as default layout.
Then we load the last layout.
And we have a menu entry 'Reset Layout', with this we set the layaout to
the default.
In 9.60 it work correct. But since we have changed to 9.81, the app crash.

Code from Save default layout.

// Get default Pane Layout
m_pDefaultLayout = GetDockingPaneManager()->CreateLayout();
GetDockingPaneManager()->GetLayout(m_pDefaultLayout);
DWORD dwPaneCount = GetDockingPaneManager()->GetPaneList().GetCount();

// Load last PaneLayout
m_pPaneLayout = GetDockingPaneManager()->CreateLayout();
if (m_pPaneLayout->Load(_T("PaneLayout")))
    {

    // Es ist eine Pane dazugekommen, damit sie aktiviert wird,
    // darf sie nicht durch ein altes Layout gesperrt werden.
    if (dwPaneCount != m_pPaneLayout->GetPaneList().GetCount())
        GetDockingPaneManager()->GetLayout(m_pPaneLayout);
    else
        GetDockingPaneManager()->SetLayout(m_pPaneLayout);
    }
else
    GetDockingPaneManager()->GetLayout(m_pPaneLayout);


greetings
    Jimmy




Replies:
Posted By: Oleg
Date Posted: 10 July 2006 at 9:20am
Hello,
Code looks ok, please show call stack of error.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jimmy
Date Posted: 11 July 2006 at 7:37am
Hang in Pane.exe sample from 9.81.
Pane.exe from V10.2.0 will work.
But i don't find any entry in release_notes.htm.

Reproduce hang.
Remove Pane.exe settings from registry.
Start pane.exe
dbkclick text 'Pane 9'.
Change Layout under 'Docking Pane' menu to run mode.

    Jimmy




Posted By: Oleg
Date Posted: 11 July 2006 at 9:50am
Hi,
 
Yes, agree, was problem with floating panes when layout changed.
Was fixed already.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jimmy
Date Posted: 12 July 2006 at 10:41am
why not docu in release_notes.html ???



Posted By: kram617
Date Posted: 24 May 2007 at 12:12pm
I am having this same SetLayout problem with v9.70 of Xtreme Tookit Pro.
 
Is there currently a workaround for this?  It doesn't crash every time, so I would guess a certain chain of events needs to happen first to cause the issue.  If I knew when a crash was going to happen, it would seem this could somehow be preventable.
 
Upgrading isn't an option at this time.


Posted By: Oleg
Date Posted: 25 May 2007 at 1:35am
Problem only apper when floating windows exist. as workaround you can close all panes and then set new layout.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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