Results 1 to 7 of 7

Thread: Crash application when abort

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Location
    Richmond, VA
    Posts
    5,854

    Default Crash application when abort

    Franco,

    What operating system are you using when this happens? The reason that I
    ask is we had reports of crashes on Win98 when using grids and we found
    a problem with memory allocations that was introduced in the combos in
    grids project. The problem we found should only impact 98 (and perhaps
    ME, we haven't tested that platform yet), but it might be worthwhile to
    try the new runtime (11.0.78.0) to see what happens. I'm attaching it to
    this message.

    Of course, this problem was found and reported the day *after* we did
    the update for 11.0.77.0 :-(

    Best regards,

    -SWM-


    -----Original Message-----
    From: Franco [mailto:Franco-s@dataflex.it]
    Posted At: Monday, July 18, 2005 9:31 AM
    Posted To: visual-dataflex
    Conversation: Crash application when abort
    Subject: Crash application when abort


    Hello to all,

    I have a trobule with some kind of application compiled with VDF11 last
    udpate (but szme troble with previous).

    The probles is that I get a CRASH after Aborting the application where
    everythign work good. And the worst is that if I runt the application
    from iDE and DEBUGGER running too, the applciation can be close
    correctly withou get a crash.

    Pratically after the abort command the application go in somellok (the
    HD work some second after everything seem to be close) and then I got a
    Classic Windows Crash Dialog.

    I get this trouble only when I don't use the Client_Area inside my
    application (I need to run only a ModalPanel with Datadictionary activeX
    and various components, without need to have all Client Area around it.
    Further like I told you I don't get any crash if the DEBUGGER is running
    with the application, but only if the application run without.


    So the composition on this kind of applciations is:

    I runt this kinf of application using a Runprogram wait from another VDF
    Application


    // ........

    Object oMain is a Panel

    // I don't want any Panel showed so everything to make it not
    visible
    Set CAPTION_BAR To False
    Set MINIMIZE_ICON To False
    Set MAXIMIZE_ICON To False
    Set SYSMENU_ICON To False

    Set SIZE To 0 0
    Set LOCATION To -1000 -1000
    Set VISIBLE_STATE To False

    USE INFODOC6MAILBOX.DG

    Procedure activate_mailbox
    Integer ivoid iret
    Handle hwnd
    Set SIZE To 0 0
    Set LOCATION To -1000 -1000
    Set VISIBLE_STATE To False
    Send activate To oViewMailBox

    End_Procedure

    End_Object // oMain


    send activate_mailbox of omain
    abort

    This is extract of the Main Modal panel included on the cpackage
    INFODOC6MAILBOX.DG

    Object oViewMailBox is a ModalPanel

    // IT INCLUDE A LOT OF ACTIVEX OBJECTS HERE
    .....................
    // To exit and close the application
    Procedure close_panel


    boolean bNeedtoBeSaved bret
    handle hoPdfEditor
    get piMailBoxReportID of omain to hoPdfEditor
    Send COMSaveCommandBars Of oToolbar "Dataflex Service Italia

    srl" "INFODOCMAILBOX" "INFODOCLayoutMailBox"

    forward send close_Panel // here go in loop and Crash. I
    can't
    debug since in Debug mode it close the application without crash


    End_Procedure


    End_Object // oViewMailBox

    So if someone have some suggestion how to solve this situation. I will
    appreciate very much

    Regards
    Franco Spinella
    DATAFLEX SERVICE ITALIA SRL


    Attached Files Attached Files

Similar Threads

  1. Re: Major Application Crash
    By Stephen W. Meeley in forum Windows Applications
    Replies: 5
    Last Post: 31-Jan-2006, 05:03 PM
  2. Crash application when abort
    By Franco in forum Windows Applications
    Replies: 2
    Last Post: 25-Jul-2005, 10:34 AM
  3. Abort the application after a period of system-idle
    By Anders Hydén in forum Windows Applications
    Replies: 6
    Last Post: 13-May-2005, 05:06 AM
  4. Abort command shows MS crash report window
    By Anders Öhrt in forum DataFlex
    Replies: 2
    Last Post: 4-Mar-2005, 02:57 AM
  5. Abort command shows MS crash report window
    By Anders Öhrt in forum Windows Applications
    Replies: 2
    Last Post: 4-Mar-2005, 02:57 AM

Posting Permissions

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