VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Jan 2005
    Location
    Louisiana
    Search Comp PM
    Anyone know why i keep getting this:

    microsoft visual c++ debug library error, file: fclose.c line:58
    Quote Quote  
  2. You need to provide a *lot* more information such as what software, which version of the debug libraries etc.
    John Miller
    Quote Quote  
  3. Member
    Join Date
    Jan 2005
    Location
    Louisiana
    Search Comp PM
    Ok, I was trying to use some small software, get system time.exe which sync's the computer time with the camera.This does work on my laptop But gives the error on my destop stated below. I' am using windows XP svrpk 3 on both, & using Norton Inter Sec 2009 on my desktop, & Norton Inter Sec 2008 on my laptop..


    microsoft visual c++ debug library error,

    Debug Assertion failed
    file: fclose.c
    line:58

    Expression: stream!= Null

    For more information on how your program can cause an assertion

    failure,see the Visual C++ documentation on asserts

    (Please press retry to debug the application)


    Abort Retry ignore

    When you hit retry, you get the GetSystemTime.exe has encountered a problem and needs to close. We are sorry for the inconvenince.
    Quote Quote  
  4. This means that the program was written using special (debug) versions of the Windows libraries that provide functionality such as file I/O etc. You need to make sure the libraries are the same as the compiler that generated the software needs. You may have the wrong ones. They aren't provided with Windows by default and have to be added. It may be that the ones on the desktop are different than those on the laptop.

    The purpose of the debug versions is to tell the programmer that they have done something that might be a problem. In this case, fclose closes a file. It has to be told what file to close and the error means that it was told to close nothing hence the error.

    Check the contents of the folder containing the software on both computers. Compare the file versions (date/time will usually be enough) and if there are files missing on one computer vs. the other.

    BTW, where does the software come from?
    John Miller
    Quote Quote  
  5. Member
    Join Date
    Jan 2005
    Location
    Louisiana
    Search Comp PM
    Iwill check tonight, but how do i correct the problem on my desktop??
    Quote Quote  
  6. If the files are different then copy the ones from the laptop to begin with and see if that helps.

    Also, what happens if you click Ignore instead of Retry? Retry forces the debugger code to kick in. Since you haven't got a debugger, Windows generates the shutdown message. Choosing Ignore makes the program continue on its merry way. It may or may not crash. The error message is sometimes more of a warning that something *may* go wrong. If I recall correctly, the fclose command should deal with an invalid file without breaking the software.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!