CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44
  1. #31
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: exe disappears itself in 5-10 minutes

    Nope, sorry.
    I can start it again and it stops.
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

  2. #32
    Join Date
    Feb 2002
    Posts
    3,788

    Re: exe disappears itself in 5-10 minutes

    Quote Originally Posted by JohnCz
    Nope, sorry.
    I can start it again and it stops.

    Ok, missa give up ! What is it then?

  3. #33
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: exe disappears itself in 5-10 minutes

    I don’t know, that is why I posted question.
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

  4. #34
    Join Date
    Aug 2005
    Posts
    104

    Re: exe disappears itself in 5-10 minutes

    You're sure your program isn't crashing?

  5. #35
    Join Date
    Feb 2002
    Location
    Krispl, Austria
    Posts
    197

    Re: exe disappears itself in 5-10 minutes

    Ok, you don't SW_HIDE or close but the program still terminates. That sounds like an unhandled exception to me. Try running it under the debugger and see if the debugger traps the exception, if not then change the exception handling in the debugger to trap all exceptions and see if anything can enlighten you as to why your program is terminating. It's definitely a bug, you just need to find it.
    Requests such as
    "I need to write an new language compiler by next week, I have teach yourself c++ in 21 days, can someone give me example code?" will be ignored.

  6. #36
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,867

    Re: exe disappears itself in 5-10 minutes

    Quote Originally Posted by GCDEF
    Somebody put a potato up your exhaust pipe.

    What do I win?
    You win the potato !!


    Seriously though rajeev, you haven't provided enough relevant information but as a starting point....
    Quote Originally Posted by rajeevktripathi
    5) All the property pages are added to sheet in OnInitDialog() function.
    It may not be significant - but I have always tended to do this in my application's OnInitInstance() function. Are your property pages persistent (i.e. will they still survive, after the OnInitDialog() function has terminated?


    Quote Originally Posted by rajeevktripathi
    6) Also everything is written in OnInitDialog().

    7) For every resource(S/W or H/W) a linked list is created .

    8) node of Linked list is structure whose attributes are TCHAR and _bstr_t type

    9)structures contains all the information retrieved by either WMI, or by Registry or by APIs.

    10) Finally values are displayed on property pages through structures
    Have you tried missing out any of those steps? If it's practical, try skipping some steps so you end up with a partially working app. Once you have an app that partially works, can that survive longer than 10 mins or does that also get terminated?
    Last edited by John E; September 10th, 2005 at 08:17 AM.
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  7. #37
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: exe disappears itself in 5-10 minutes

    Guys, why are you so agitated? It seems that the OP has deserted this thread...
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  8. #38
    Join Date
    Apr 2003
    Location
    kathmandu, nepal
    Posts
    1,570

    Re: exe disappears itself in 5-10 minutes

    My mama was right. **** this world is indeed a cruel place
    If there is no love sun won't shine

  9. #39
    Join Date
    Jul 2005
    Location
    Alpine, UT
    Posts
    26

    Wink Re: exe disappears itself in 5-10 minutes

    Hi

    I've got C program with a million lines of code in it. It keeps crashing. Any ideas?

    thanks

  10. #40
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: exe disappears itself in 5-10 minutes

    I've got C program with a million lines of code in it. It keeps crashing. Any ideas?
    If this is a serious question please create a separate thread.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  11. #41
    Join Date
    Jul 2005
    Posts
    38

    Re: exe disappears itself in 5-10 minutes

    Hi all

    Infact while dubugging my application I found where I was wrong,
    I crrected and get overcome to my problem really this problem was related to memory leak.

    thanks a lot for these suggestions.

    Dear friends you were getting angry without any mean, any way once ahain thanks for your relevant replies to the question.



    Thanks & Regards.

  12. #42
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: exe disappears itself in 5-10 minutes

    Infact while dubugging my application I found where I was wrong,
    I crrected and get overcome to my problem really this problem was related to memory leak.
    Great then. But it would be even better if you explain what the actual problem was and how did you fix it, so if others have similar problems and read this thread can fix it too.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  13. #43
    Join Date
    Aug 2002
    Location
    Cluj-Napoca,Romania
    Posts
    3,496

    Re: exe disappears itself in 5-10 minutes

    Quote Originally Posted by rajeevktripathi
    Dear friends you were getting angry without any mean, any way once ahain thanks for your relevant replies to the question.
    lol. Should your qeustion been more accurate the answers would have more accurate and this thread would have stopped in the 1st page.
    Har Har

  14. #44
    Join Date
    Feb 2001
    Location
    TN
    Posts
    290

    Re: exe disappears itself in 5-10 minutes

    I know! Car is FORD.







    Just kidding... I own two Mustangs.

Page 3 of 3 FirstFirst 123

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

Featured