Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - [Crash] When doing attach pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Crash] When doing attach pane

 Post Reply Post Reply
Author
Message
ChrisPaulson View Drop Down
Groupie
Groupie


Joined: 19 July 2007
Location: United Kingdom
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChrisPaulson Quote  Post ReplyReply Direct Link To This Post Topic: [Crash] When doing attach pane
    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?

Back to Top
ChrisPaulson View Drop Down
Groupie
Groupie


Joined: 19 July 2007
Location: United Kingdom
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChrisPaulson Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2011 at 10:11am
Forgot to mention using version 13.0.0
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.125 seconds.