My program was causing crashing.
The really hard type of crash.
Where your screen freezes and does not respond to user input.
Trying to get this fixed, I started tweaking a few things to get to the source of the problem.
Every time at a certain point in my program, it crashes the same way, and all I can do is hit the reset button on my computer.
At first, I noticed that I if I changed something and ran it, then if it crashed, after I restart my computer, my files were NOT saved, even though the EXE file was successfully compiled (which means they must be saved, right??).
So I decided to just exit all the way out of WinAsm when I wanted to save the file, and this worked...at first.
But after about 10 tries of tweaking, freezing, and restarting, something VERY strange happened.
I opened my WinAsm project, and nothing shows up. In the .WAP file, it shows nothing in the "[FILES]" section.
My .ASM and .INC files still existed, and my .INC file was still there and was fine, so I opened my .ASM file.
Here is what I saw in my hex editor for my .ASM file:
A whole bunch of zeroes. NO text. If I open it in notepad it looks like a whole bunch of spaces. All the text in my file was completely zeroed. Infact, the file size was 14k. 14,175 bytes full of 0's.
The functions I was using that could have to do with the crashing are:
- WaitForSingleObject
- SetEvent
- ResetEvent
- CreateThread
Perhaps more, but I don't know, my file is wiped out.
I have no idea why it was freezing my computer; I was trying to figure this out. But instead, it deleted my source code. Most likely because WinAsm had it open and did not have time to back it up before the computer froze.
Does anyone know if it's possible for me to get the file back? Would it be stored anywhere? I don't even need the most recent save of it, if I had a way to get it from yesterday or something that would be great.
For what it's worth, I've attached what's left of the project.
Attached File ( Number of downloads: 28 )
Login or
Register to download