PDA

View Full Version : MSVC is going to make me REALLY MAD!!!!!!



M/\dm/\n
01-18-2003, 12:34 PM
The first thing http://www.opengl.org/discussion_boards/ubb/mad.gif , I was working with my project when it hanged up at compile time, only thing I was able to do was restart my PC, Alt+Ctrl+Del, didn't helped (Despite the fact I'm working with WinXP Pro). When I opened my workspace once more all syntax highlight was gone, except of cg progs, and I havn't found out how to get it back http://www.opengl.org/discussion_boards/ubb/mad.gif
I have faced this problem before too, when all workspaces from NVIDIAs toolkit had same problem.
AND THE SECOND http://www.opengl.org/discussion_boards/ubb/mad.gif THING, spent a lot of time on my engine today, and guess what, MSVC caught a bug when saving to NTFS volume & ate my main.cpp (IT WASN'T SHORT ONE http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif ). I'm used to fact that MSVC drops out message that file is in use lalala..., but this time there was no message & file was simply deleted http://www.opengl.org/discussion_boards/ubb/mad.gif. Now I'm trying to redo all I have done from time I last backuped my prog http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif http://www.opengl.org/discussion_boards/ubb/mad.gif
And that's real hell without syntax highlight http://www.opengl.org/discussion_boards/ubb/mad.gif
Funny thing is that it's not Friday 13 http://www.opengl.org/discussion_boards/ubb/biggrin.gif

[This message has been edited by M/\dm/\n (edited 01-18-2003).]

Old GLman
01-18-2003, 12:37 PM
** Rant **

Stop using M$ crap and switch to Linux http://www.opengl.org/discussion_boards/ubb/biggrin.gif

At least you made a backup, but now you will probably make them more frequently hehe.

Old GLman

kehziah
01-18-2003, 01:16 PM
I had some similar problems with MSVC, except that for me the PC didnt hang, it rebooted.

Everything went back to normal behavior when I turned this damn antivirus off.

No more reboot, no more "file is in use" etc.

If you have any kind of so called "utility" service (antivirus or other Norton crap), I suggest you switch them off when working.

Hope this helps

PS : I have a Win2K system (FAT32 though)

Halcyon
01-18-2003, 07:32 PM
WOW...that really sucks m/\dm/\n!!!!! I've had something like that happen to me once...but only once. I wrote a realllly long program that was in only one file (main.cpp)...when i compiled it and ran it from the compiler, it crashed and rebooted my computer. Then i proceeded to run the program outside of the compiler and it worked perfectly. Figuring I had a bug in my code i opened it up and all that was in the main.cpp file was 2 lines of computer jargon!!!!!!!! That...made...me....veeerrrrrryyy......frustrated.

I feel your pain man!

- Halcyon

shinpaughp
01-18-2003, 08:11 PM
Happened to me couple of times, but with every compiler I've ever used... MSVC++6.0 Intro (though I am stepping up to .Net Standard - be afraid... very afraid), MetroWerks CodeWarrior 5.0 & 6.0 (Windows and Mac), THINK Pascal (Mac), Symantec C++ (Mac). It even happened back on my Atari 800 using both Basic and Assembly only because I was poke(ing) where I shouldn't or with assembly because I had no reference (book) for any APIs for graphics or anything else that I tried experimenting with certain things.

Usually it is a problem with a pointer that wasn't initialized and it wrote into system memory or program memory or something of the sort. But usually it was after I was compiling and testing the code I had written so far (damage done), then made the necessary changes to resolve the pointer problems recompiled again and splat - blue screen of death or the system just froze - mouse usually worked great though when it just froze, but the internal system damage was already done. I seriously doubt that it was the compiler itself rather than problematic code that caused the problem.

Though, I suppose I could be wrong. Viruses or loaded programs which cause system instability or even an attack from the internet if you don't have a good firewall and the latest MS security updates and you have braodband constant internet access. But, my bet is you have pointers that aren't initialized and checked properly allowing access to overwrite system or program memory. Of course, I heard XP (allegedly) prevents that sort of thing.

Anyway, good luck with the coding.

Jan
01-19-2003, 12:58 AM
I think i have to defend M$ here. I used MSVC 6.0 and am using .NET with XP now. I never had a problam like yours with those programs and i am using them for about 5 years now.
However 5 years ago, i used Turbo Pascal and after a crash of my system its whole folder was gone, together with the program i was working on for over 3 months. That was a reason for me to start with C++.

I really feel your pain, because that sucks, but it might not be VC++īs fault. I donīt use any "utility" like AntiVirus tools or special printer software or any other of those self-installing-and-dont-want-to-go-away programs.

So i guess, that it might really be such a programīs fault.

Jan.

Halcyon
01-19-2003, 07:46 AM
Yeah, I guess I did neglect to mention that I find that the microsoft compilers do their job well. That problem I had was when i had the Norton Antrivirus still installed on my computer. I just never figured that would be the reason for that mess. But that is the only time I've ever had any issues with microsoft's compilers.

Oh and shinpaughp, in my opinion, .NET is awesome!

- Halcyon

M/\dm/\n
01-19-2003, 11:52 PM
Well, I guess I must say thanks, because I FINALLY REWROTE my main.cpp & added some improvements, but that still hurts and now I'm backuping every 10 mins http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif
But I doubt the problem is with utils or smthn, because there is always some sort of conflict with saving on NTFS from MSVC & other progs too. Still there is no excuse for MSVC, Borland builder is automaticaly creating whole lot of .~bak's, but I don't think Borland is making PROGRAMMING LANGUAGES, they look like toys to me, click twice there, then twice there, so I'll stick with MSVC (pure C++) and'll keep b'uping http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif.

01-20-2003, 11:42 AM
http://www.opengl.org/discussion_boards/ubb/smile.gif. I know what you feel. I also lost a couple of my projects I was working for months. And know I am making backup of my main.cpp every time before running program. What's more... I am saving every line written. Just to be sure 'it won't disappear', you know... http://www.opengl.org/discussion_boards/ubb/smile.gif

rpxmaster
01-20-2003, 04:11 PM
On 01-19-2003 08:46 AM, a Frequent Contributor named Halcyon made the following remark:
Yeah, I guess I did neglect to mention that I find that the microsoft compilers do their job well. That problem I had was when i had the Norton Antrivirus still installed on my computer. I just never figured that would be the reason for that mess. But that is the only time I've ever had any issues with microsoft's compilers.

Oh thank-you thank-you thank-you so much! ^_^ Now I understand why the Dev-C++ 5 Betas lock up my entire machine every time I go to compile my projects. It appears my IDE prefers it when Norton Antivirus is disabled.