Advertisement

stupid VC++ 6 compiler

Started by May 30, 2000 10:17 PM
24 comments, last by Theses 24 years, 7 months ago
i have my program working just fine and dandy then all of the sudden i add one line of code SCROLLBARINFO sbi; oh thank you for the undeclared identifier error i look at the documentation for it it requires winuser.h, include windows.h of course i have been including windows.h since the beginning i physically look in winuser.h and sure enough there is the declaration for SCROLLBARINFO what the hell is going on
Including windows.h doesn''t mean you included winuser.h
try adding this line in

#include
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.
Advertisement
could you possibly write out some of source code?
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
U have to type ampersand lt and ampersand gt (no space, plus ampersand sign), to get less than and greater than signs to work, Eva. So, what u probably meant was:
#include &ltwinuser.h>
Sean: exactly. I forgot about the greater than less than deal on the board. Oopsie.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.
Happens to even the best of us, eh Eva?
Advertisement
Think that''s bad? I just added a single word variable to my class, recompiled
it, and my whole program crashed. For some reason, it didn''t like it. I guess
the compiler probably tried to re-align my class and messed up my other variables.
Now I always try to keep my classes dword align, otherwise I have no idea what
MSVC is going to do with it.
You want a real MSVC++ horror story? The other day, it decided to not allow inheritence in my program. I had to create a completely new project to get it working correctly.
I hate the times when it fails to make the browse file properly, and I have to add a comment or move some code around just so it has something slightly different to compile, in order to work.

And the wonderful ''Internal Compiler Error'' is fun too.
You learn to appreciate the necessity of "rebuild all"


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.

This topic is closed to new replies.

Advertisement