Advertisement

Crash in middle of compile... corrupted

Started by August 19, 2000 10:46 AM
5 comments, last by The_Minister 24 years, 4 months ago
In a classic example of my luck, my entire computer crashed during compiling my game. The file that was being compiled at the time is now completely corrupted, well not completely. About 7/8 of it is, however, I assume that this was where the crash took place. I am using Microsoft Visual C++ 6.0. I have not made any backups... ironically I was planning to after I compiled. Anyway, I read somewhere that if you save when you shouldn''t, you need only load a backup file to get the old version back. Does this apply for compiling? Does it make any kind of backups? And please don''t ask me if I had set a setting to make it, I am not aware of any at this time, so no, I haven''t. Come on, Micrsoft can''t be THAT stupid. Please? Anyone? The_Minister 1C3-D3M0N Interactive
[email=mwronen@mweb.co.za" onmouseOver="window.status='Mail The_Minister'; return true" onmouseOut="window.status=' '; return true]The_Minister[/email]1C3-D3M0N Interactive
I thought VC++ saved all open files before compiling? It does on my machine...

40

www.databyss.com
www.omlettesoft.com

"Don''t meddle in the affairs of wizards, for they are subtle and quick to anger."
-40
Advertisement
I had that problem as well.
I suggest downloading Visual C++ (Visual Studio) Service pack 4 from microsoft''s web site.. You have to download more than 120 megs for it. Run the self extracting files and take all of the decompressed files and archive them on a CD.

I have not had a problem since then... except my own coding =)

The nightmare travels across the cosmos with his burning mane. The trail of ash that is produced.

?Have a nice day!?

My eyes are not so weak that I am misreading dialogue boxes informing me of unknown characters and lines filled with the remnicents of previously healthy files. It does save before compiling... so that the compiler can access the files. Don''t ask me; I did not make it. The question remains: does the compiler backup files before doing whatever it is it does to them?

The_Minister
1C3-D3M0N Interactive
[email=mwronen@mweb.co.za" onmouseOver="window.status='Mail The_Minister'; return true" onmouseOut="window.status=' '; return true]The_Minister[/email]1C3-D3M0N Interactive
Thank you Goofprog, I will do so as soon as I have the time. But does this mean that I have lost it, beyond recovery? It''s not incredibly serious, it was the main implementation file, ie the one with WinMain() and GameMain() in it. It is just an immense pain to have to recode a perfectly fine piece of work because of an oversight by Microsoft, or myself.

The_Minister
1C3-D3M0N Interactive
[email=mwronen@mweb.co.za" onmouseOver="window.status='Mail The_Minister'; return true" onmouseOut="window.status=' '; return true]The_Minister[/email]1C3-D3M0N Interactive
Why would the compiler need to do anything more than read the source file? Does it actually modify the source file while compiling, then change it back when done? That wouldn''t make any sense... I don''t see how it could''ve corrupted the file... Definately can''t be your fault from what I''m seeing.

40

www.databyss.com
www.omlettesoft.com

"Don''t meddle in the affairs of wizards, for they are subtle and quick to anger."
-40
Advertisement
Once again, I do not know how the compiler works. Maybe somebody out there does? It was compiling a file, it got about 1/8 of the way when the computer crashed, now the rest of that file is corrupted. Anyway, I am deep into re-writing the lost code, so it isn''t really a problem. It would just be nice to know that if it crashes while doing something important, like my graphics library, that I can get it back. It looks like I can''t.

Well I have backed everything up, so at least I will be better prepared for next time.

The_Minister
1C3-D3M0N Interactive
[email=mwronen@mweb.co.za" onmouseOver="window.status='Mail The_Minister'; return true" onmouseOut="window.status=' '; return true]The_Minister[/email]1C3-D3M0N Interactive

This topic is closed to new replies.

Advertisement