[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Conditional Breakpoint CString Visual Studio 6.0

Posted on 2005-04-20
2
Medium Priority
?
769 Views
Last Modified: 2013-11-20
How to define a conditional breakpoint on a CString variable under Visual Studio 6.0
Tried this -> strcmp(variable,"HANDLING" ) == 0 but it doesn't work.

Any ideas?

Thanks in advance
Martin
0
Comment
Question by:martinmoessner
  • 2
2 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 13825817
Hi martinmoessner,
Just use == comparsion operator.

if (variable == "HANDLING")
{
}

David Maisonave :-)
Cheers!
0
 
LVL 30

Accepted Solution

by:
Axter earned 1000 total points
ID: 13825836
CString also has a Compare member function.
variable.Compare("HANDLING") == 0
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month19 days, 20 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question