Click here to Skip to main content
15,908,834 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWriting a service in VC++ Pin
BadKarma16-Jan-06 2:00
BadKarma16-Jan-06 2:00 
AnswerRe: Writing a service in VC++ Pin
prcarp16-Jan-06 5:10
prcarp16-Jan-06 5:10 
AnswerRe: Writing a service in VC++ Pin
Jack Puppy16-Jan-06 5:33
Jack Puppy16-Jan-06 5:33 
AnswerRe: Writing a service in VC++ Pin
basementman16-Jan-06 7:51
basementman16-Jan-06 7:51 
GeneralRe: Writing a service in VC++ Pin
BadKarma17-Jan-06 1:45
BadKarma17-Jan-06 1:45 
QuestionVS2005 - compiler bug with CStrings? Pin
#realJSOP16-Jan-06 1:45
professional#realJSOP16-Jan-06 1:45 
AnswerRe: VS2005 - compiler bug with CStrings? Pin
toxcct16-Jan-06 2:17
toxcct16-Jan-06 2:17 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
#realJSOP16-Jan-06 2:43
professional#realJSOP16-Jan-06 2:43 
void ThisFunction()
{
    CString myString = "test";
    MyFunction(myString);
}

void MyFunction(CString sVal)
{
    if (sVal.IsEmpty())
    {
       AfxMessageBox("Empy String");
    }
    else
    {
       AfxMessageBox(sVal);
    }
}


In the example above,m I get the message "Empty String".

Like I said, simple code - unexpected result.

------- sig starts

"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt

"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
GeneralRe: VS2005 - compiler bug with CStrings? Pin
toxcct16-Jan-06 2:51
toxcct16-Jan-06 2:51 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
#realJSOP16-Jan-06 3:11
professional#realJSOP16-Jan-06 3:11 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
toxcct16-Jan-06 3:17
toxcct16-Jan-06 3:17 
AnswerRe: VS2005 - compiler bug with CStrings? Pin
kakan16-Jan-06 3:25
professionalkakan16-Jan-06 3:25 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
#realJSOP16-Jan-06 10:52
professional#realJSOP16-Jan-06 10:52 
AnswerRe: VS2005 - compiler bug with CStrings? Pin
Nish Nishant16-Jan-06 3:50
sitebuilderNish Nishant16-Jan-06 3:50 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
#realJSOP16-Jan-06 11:01
professional#realJSOP16-Jan-06 11:01 
GeneralRe: VS2005 - compiler bug with CStrings? Pin
Nish Nishant16-Jan-06 11:47
sitebuilderNish Nishant16-Jan-06 11:47 
QuestionMove / Refresh Windows Taskbar Pin
u6ik16-Jan-06 1:42
u6ik16-Jan-06 1:42 
AnswerRe: Move / Refresh Windows Taskbar Pin
u6ik16-Jan-06 20:41
u6ik16-Jan-06 20:41 
Questionhow can i calculate the length of sent data at server side Pin
baldha rakesh16-Jan-06 1:37
baldha rakesh16-Jan-06 1:37 
AnswerRe: how can i calculate the length of sent data at server side Pin
Bob Flynn16-Jan-06 2:39
Bob Flynn16-Jan-06 2:39 
GeneralRe: how can i calculate the length of sent data at server side Pin
baldha rakesh16-Jan-06 17:15
baldha rakesh16-Jan-06 17:15 
GeneralRe: how can i calculate the length of sent data at server side Pin
Bob Flynn17-Jan-06 3:09
Bob Flynn17-Jan-06 3:09 
QuestionText Boxes in C++ Pin
Gktony16-Jan-06 0:45
Gktony16-Jan-06 0:45 
AnswerRe: Text Boxes in C++ Pin
_AnsHUMAN_ 16-Jan-06 1:01
_AnsHUMAN_ 16-Jan-06 1:01 
AnswerRe: Text Boxes in C++ Pin
Owner drawn16-Jan-06 1:10
Owner drawn16-Jan-06 1:10 

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.