Results 1 to 10 of 28

Thread: ACCESS_VIOLATION(0xc0000005) on closing program while debugger is active

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #28
    Join Date
    Feb 2009
    Posts
    862

    Default Re: ACCESS_VIOLATION(0xc0000005) on closing program while debugger is active

    Hi,

    If I put object skin after object command bar system it closes fine (but the command bar is not skinned fine, but not bad at all, just rare. See attached).
    If I don't use object command bar system it closes fine.
    If I don't use object skin it closes fine.

    But as I need object command bar system and the skin...
    I have augmented class cCrystalPreview and method Notify_Exit_Application:
    Code:
    Class cMyCrystalPreview is a cCrystalPreview
        Procedure Notify_Exit_Application
            Forward Send Notify_Exit_Application
            
            Send Close_Panel
        End_Procedure
    End_Class
    Now all things seem to work fine if I have just one instance of crystal, if I have more (let's say 6) then it gives the error.

    It seems to be a conflict between cCJSkinFramework, cCJCommandBarSystem and cCrystalPreview, timming problem...

    This is an application migrated from 17.0 to 18.2, maybe it is a behaviour due to the change done in 17.1 (Using resource themes in commandBars and Grids).

    Regards.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	skin.jpg 
Views:	71 
Size:	51.5 KB 
ID:	10603  
    We are always in a continuous learning mode, and the more we know, the more we realise that we don't know anything.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •