CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Location
    OH - USA
    Posts
    1,892

    Mysterious Exit!

    My application runs completely automated for long periods of time (on Win2k Pro), at least its supposed to. Sometimes it runs for days, sometimes for 10 minutes. The problem is that when I check on it, it is completely terminated. Neither Dr.Watson or VC++ bring up an error dialog. The program just completely closes. I checked the DWatson error log and found a c0000005 Access Violation, so I ran it under VC++ debug and It brought up the same thing, this time in NTDLL.dll c0000005 Access Violation. So I guess the question is: can I trap this error or how can I figure out whats causing it? ps. I can not run it under VB debug because it has a control in it that caused Run-Time errors in debug. Thanks in advance for any help!!

    Good Luck,
    Craig - CRG IT Solutions - Microsoft Gold Partner

    -My posts after 08/2015 = .NET 4.x and Visual Studio 2015
    -My posts after 11/2011 = .NET 4.x and Visual Studio 2012
    -My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
    -My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
    -My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
    -My posts before 04/2007 = .NET 1.1/2.0

    *I do not follow all threads, so if you have a secondary question, message me.

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Mysterious Exit!

    It is quite strange your program has a control that causes runtime errors...


    Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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