Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSetting timer in Doc but used in a View Pin
Merle Pittman20-Mar-02 6:58
Merle Pittman20-Mar-02 6:58 
GeneralRe: Setting timer in Doc but used in a View Pin
Mazdak20-Mar-02 7:26
Mazdak20-Mar-02 7:26 
GeneralRe: Setting timer in Doc but used in a View Pin
Merle Pittman20-Mar-02 7:47
Merle Pittman20-Mar-02 7:47 
GeneralRe: Setting timer in Doc but used in a View Pin
Andres Manggini20-Mar-02 8:24
Andres Manggini20-Mar-02 8:24 
GeneralRe: Setting timer in Doc but used in a View Pin
Shog920-Mar-02 8:02
sitebuilderShog920-Mar-02 8:02 
GeneralC2676 Pin
20-Mar-02 6:51
suss20-Mar-02 6:51 
GeneralRe: C2676 Pin
Rickard Andersson2020-Mar-02 7:02
Rickard Andersson2020-Mar-02 7:02 
GeneralRe: C2676 Pin
Bill Wilson20-Mar-02 7:05
Bill Wilson20-Mar-02 7:05 
1. This is not the code that is causing the problem. The error is found on the line you are shown when you double click on the error message.

2. The reason you get the error is that == is not a defined operation for one or both of the things you are comparing.

e,g,
CString s1, s2;

if (s1 == s2) ...  // this works

this works because the CString class has a method named == that performs the comparison. The compiler doesn't know what to do in your case. Basically you need to tell it how to compare two objects of your class.

Look at the CString class definition for hints on how to do this.
GeneralCOM Port Active X Pin
dlhson20-Mar-02 6:31
dlhson20-Mar-02 6:31 
QuestionChange image saturation...? Pin
Chris Losinger20-Mar-02 6:23
professionalChris Losinger20-Mar-02 6:23 
AnswerRe: Change image saturation...? Pin
Christian Graus20-Mar-02 9:53
protectorChristian Graus20-Mar-02 9:53 
AnswerRe: Change image saturation...? Pin
Joaquín M López Muñoz20-Mar-02 10:50
Joaquín M López Muñoz20-Mar-02 10:50 
GeneralRe: Change image saturation...? Pin
Chris Losinger20-Mar-02 15:08
professionalChris Losinger20-Mar-02 15:08 
Generalcan't create modeless dialog Pin
Hans Ruck20-Mar-02 6:17
Hans Ruck20-Mar-02 6:17 
GeneralRe: can't create modeless dialog Pin
Joaquín M López Muñoz20-Mar-02 9:26
Joaquín M López Muñoz20-Mar-02 9:26 
Generalquick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 5:59
suss20-Mar-02 5:59 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 6:15
suss20-Mar-02 6:15 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
Bill Wilson20-Mar-02 6:56
Bill Wilson20-Mar-02 6:56 
Questionmodem connection RAS or TAPI or ??? Pin
20-Mar-02 5:57
suss20-Mar-02 5:57 
AnswerI'm too Pin
dlhson20-Mar-02 6:07
dlhson20-Mar-02 6:07 
Questionhow to get a process name attached to a given udp port ? Pin
20-Mar-02 5:45
suss20-Mar-02 5:45 
Generala strange debug error Pin
Gérald Mercet20-Mar-02 5:04
Gérald Mercet20-Mar-02 5:04 
GeneralRe: a strange debug error Pin
Joaquín M López Muñoz20-Mar-02 7:34
Joaquín M López Muñoz20-Mar-02 7:34 
GeneralRe: a strange debug error Pin
Gérald Mercet21-Mar-02 3:06
Gérald Mercet21-Mar-02 3:06 
GeneralNeed HELP - Linking DLL with TEMPLATE Pin
20-Mar-02 5:04
suss20-Mar-02 5:04 

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.