Anyone know why i keep getting this:
microsoft visual c++ debug library error, file: fclose.c line:58
+ Reply to Thread
Results 1 to 6 of 6
-
-
You need to provide a *lot* more information such as what software, which version of the debug libraries etc.
John Miller -
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. -
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 -
Iwill check tonight, but how do i correct the problem on my desktop??
-
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.
Similar Threads
-
? about Microsoft Visual C++ Redistributable
By sdsumike619 in forum ComputerReplies: 3Last Post: 10th Feb 2012, 19:08 -
XMedia Recode v2.2.2.0 DVD->MKV (H264AVC+AC3) Ms Visual C++ Runtime Error
By Bonie81 in forum DVD RippingReplies: 2Last Post: 13th May 2010, 11:32 -
reference Windows Media Encoder library error
By George2 in forum Newbie / General discussionsReplies: 0Last Post: 15th May 2009, 05:44 -
Microsoft Debug Error DAMAGE: after Normal block (#39)
By Denvers Dawgs in forum ComputerReplies: 3Last Post: 24th May 2007, 09:59