PDA

View Full Version : Bubble trubble with timer =(



sk1ndead
11-29-2007, 12:34 PM
When i try out my timer, i get these errors/warnings (I did everything as said in the tut:eek:).

--------------------Configuration: Scope - Win32 Debug--------------------
Compiling...
ScopeDlg.cpp
C:\Program Files\Microsoft Visual Studio\MyProjects\Scope\ScopeDlg.cpp(212) : error C2065: 'FIRSTTIMER' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\MyProjects\Scope\ScopeDlg.cpp(212) : error C2051: case expression not constant
C:\Program Files\Microsoft Visual Studio\MyProjects\Scope\ScopeDlg.cpp(218) : warning C4060: switch statement contains no 'case' or 'default' labels
Error executing cl.exe.

Scope.exe - 2 error(s), 1 warning(s)

Can any1 help? I attached the whole project here below

thimo
11-29-2007, 01:09 PM
When i try out my timer, i get these errors/warnings (I did everything as said in the tut:eek:).

--------------------Configuration: Scope - Win32 Debug--------------------
Compiling...
ScopeDlg.cpp
C:Program FilesMicrosoft Visual StudioMyProjectsScopeScopeDlg.cpp(212) : error C2065: 'FIRSTTIMER' : undeclared identifier
C:Program FilesMicrosoft Visual StudioMyProjectsScopeScopeDlg.cpp(212) : error C2051: case expression not constant
C:Program FilesMicrosoft Visual StudioMyProjectsScopeScopeDlg.cpp(218) : warning C4060: switch statement contains no 'case' or 'default' labels
Error executing cl.exe.

Scope.exe - 2 error(s), 1 warning(s)

Can any1 help? I attached the whole project here below
add


#define FIRSTTIMER 1080

to your resources.h

sk1ndead
11-29-2007, 01:25 PM
add


#define FIRSTTIMER 1080

to your resources.h

I wub u <3
THANKS:Dcan be locked