Print Page | Close Window

[Crash] When doing attach pane

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=18277
Printed Date: 28 April 2024 at 1:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Crash] When doing attach pane
Posted By: ChrisPaulson
Subject: [Crash] When doing attach pane
Date Posted: 26 April 2011 at 10:07am
The crash is in: -

Exception code: C0000005 ACCESS_VIOLATION
Fault address:  73DD6EB3 01:00005EB3 C:\WINDOWS\system32\MFC42.DLL

It occurs in the (Progress) application code:- 


function attachPane returns log(    
    pFrm as handle, 
    pNe as handle ):
    /***************************************************************************************
    **
    ** Procedure:       attachPane
    **
    ** Description:     Join a pane to another pane
    **
    ***************************************************************************************/
    define buffer child for child.
    define buffer nchild for child.

    find first child where child.objectHandle = pFrm no-error.
    if not available child then return no.

    find first nchild where nchild.objectHandle = pNe no-error.
    if not available nchild then return no.

    if valid-handle(child.pane) and valid-handle(nchild.pane) then 
    do:
        if (not child.pane:hidden and not nchild.pane:hidden) and (not child.pane:closed and not nchild.pane:closed) then
        do:
/* Crash at next line */
            chDocMan:DockingPaneFrame:attachPane( child.pane, nchild.pane ).
            debugLog(substitute("Attach pane &1 to &2", child.name, nchild.name ) ).
        end.
        else
            errorLog("Tried to attach to hidden pane").
    end.
    else
        errorLog("ERROR: attach pane - child has become invalid").
end.


The crash appears to happen at random times.

Anyone with ideas?




Replies:
Posted By: ChrisPaulson
Date Posted: 26 April 2011 at 10:11am
Forgot to mention using version 13.0.0



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