Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple string copying question Pin
Michael Dunn6-Feb-02 12:01
sitebuilderMichael Dunn6-Feb-02 12:01 
GeneralMDI with CRicheditView question Pin
squizz6-Feb-02 7:55
squizz6-Feb-02 7:55 
GeneralRe: MDI with CRicheditView question Pin
Mazdak6-Feb-02 8:11
Mazdak6-Feb-02 8:11 
GeneralRe: MDI with CRicheditView question Pin
squizz6-Feb-02 8:42
squizz6-Feb-02 8:42 
GeneralRe: MDI with CRicheditView question Pin
Mazdak6-Feb-02 9:37
Mazdak6-Feb-02 9:37 
GeneralRe: MDI with CRicheditView question Pin
squizz6-Feb-02 11:45
squizz6-Feb-02 11:45 
GeneralRe: MDI with CRicheditView question Pin
Mazdak6-Feb-02 22:11
Mazdak6-Feb-02 22:11 
Generalusing timers Pin
Rajveer6-Feb-02 7:32
Rajveer6-Feb-02 7:32 
I'm looking at "Sams Teach Yourself Visual C++ 6 in 21 Days" and for the code on page 78, I get the following error for line 23's code in the book:

--------------------Configuration: Timers - Win32 Debug--------------------
Compiling...
TimersDlg.cpp
C:\WINDOWS\Desktop\Rajveer\Timers\TimersDlg.cpp(203) : error C2196: case value '1' already used
Error executing cl.exe.

TimersDlg.obj - 1 error(s), 0 warning(s)

I checked all my code for that entire project and I've typed it exactly as the book. So what is wrong?
GeneralRe: using timers Pin
Ravi Bhavnani6-Feb-02 7:45
professionalRavi Bhavnani6-Feb-02 7:45 
GeneralRe: using timers Pin
Nish Nishant6-Feb-02 8:34
sitebuilderNish Nishant6-Feb-02 8:34 
GeneralRe: using timers Pin
Jamie Hale6-Feb-02 8:38
Jamie Hale6-Feb-02 8:38 
GeneralRe: using timers Pin
Nish Nishant6-Feb-02 8:47
sitebuilderNish Nishant6-Feb-02 8:47 
GeneralRe: using timers Pin
Nish Nishant6-Feb-02 8:35
sitebuilderNish Nishant6-Feb-02 8:35 
GeneralSimple typo? Pin
Ravi Bhavnani6-Feb-02 9:03
professionalRavi Bhavnani6-Feb-02 9:03 
GeneralRe: Simple typo? Pin
solex7-Feb-02 2:48
solex7-Feb-02 2:48 
GeneralRe: Simple typo? Pin
Ravi Bhavnani7-Feb-02 2:54
professionalRavi Bhavnani7-Feb-02 2:54 
General<complex> !?! Pin
Joel Holdsworth6-Feb-02 7:08
Joel Holdsworth6-Feb-02 7:08 
GeneralRe: <complex> !?! Pin
Joaquín M López Muñoz6-Feb-02 7:16
Joaquín M López Muñoz6-Feb-02 7:16 
GeneralRe: <complex> !?! Pin
Le centriste6-Feb-02 9:06
Le centriste6-Feb-02 9:06 
GeneralCControlBar won't go away Pin
6-Feb-02 4:38
suss6-Feb-02 4:38 
GeneralRe: CControlBar won't go away Pin
56789012346-Feb-02 5:14
56789012346-Feb-02 5:14 
GeneralRe: CControlBar won't go away Pin
Xon6-Feb-02 10:49
Xon6-Feb-02 10:49 
GeneralRe: CControlBar won't go away Pin
Derek Waters6-Feb-02 13:02
Derek Waters6-Feb-02 13:02 
GeneralBig/Small Tic marks on CSliderCtrl Pin
Jerry Wang6-Feb-02 4:38
Jerry Wang6-Feb-02 4:38 
GeneralRe: Big/Small Tic marks on CSliderCtrl Pin
Mazdak6-Feb-02 5:00
Mazdak6-Feb-02 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.