Results 1 to 3 of 3

Thread: [RESOLVED] memory cant be written ...

  1. #1

    Thread Starter
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Resolved [RESOLVED] memory cant be written ...

    everything was working fine untill now and suddenly

    when i exit my application it vanishes from the screen as usual but when i open my taskbar my app is still running .it never happened.

    abt my app

    first there is a login screen,when user authen... mdi form loads with a toolbar. i have the function to handle toolbar events in a module .which takes the button.text as argument.

    for the exit button i do the following:

    unload all child forms
    close all open db connections

    unload the mdimain(mdi form)
    end

    .i have been using this sequence of stmts right from the start of my proj.but from yesterday onwards this problem surfaced::the app exits giving an error "that memory referenced could not be written....",if i use the end stmt and
    it stays in the taskbar,if i remove the end stmt.

    but if the user logs out (i.e go to the first form)and clicks exit ,it exits normally(the first form is a simple non mdichild form ).

    what is happening here ??
    __________________
    ________________0îîî___
    ___îîî0________(___)____
    __(___)_________) _/_____
    ___\_ (_________(_/______
    ____\_)_________________

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: memory cant be written ...

    Have you tried stepping through your exit sub to ensure that all forms are unloaded?
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  3. #3

    Thread Starter
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Re: memory cant be written ...

    yes it does unload all forms ,as i said i never faced this problem before .all of a sudden it started .
    __________________
    ________________0îîî___
    ___îîî0________(___)____
    __(___)_________) _/_____
    ___\_ (_________(_/______
    ____\_)_________________

Posting Permissions

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



Click Here to Expand Forum to Full Width