Click here to Skip to main content
15,881,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get IP Address of the system using MFC Pin
Bemali12-Jun-10 21:19
Bemali12-Jun-10 21:19 
QuestionProblem with BEGIN_MESSAGE_MAP ( subsublcass..,baseClass) Pin
jensreichert7-May-09 22:43
jensreichert7-May-09 22:43 
AnswerRe: Problem with BEGIN_MESSAGE_MAP ( subsublcass..,baseClass) Pin
Stuart Dootson7-May-09 23:28
professionalStuart Dootson7-May-09 23:28 
QuestionProblem with != operator of CString Pin
vijith.squadz7-May-09 22:41
professionalvijith.squadz7-May-09 22:41 
AnswerRe: Problem with != operator of CString Pin
CPallini7-May-09 23:00
mveCPallini7-May-09 23:00 
GeneralRe: Problem with != operator of CString Pin
vijith.squadz7-May-09 23:05
professionalvijith.squadz7-May-09 23:05 
GeneralRe: Problem with != operator of CString Pin
CPallini7-May-09 23:28
mveCPallini7-May-09 23:28 
AnswerRe: Problem with != operator of CString Pin
David Crow8-May-09 3:12
David Crow8-May-09 3:12 
VIJITH VIJAYAN wrote:
And i am getting an error code of 122(The data area passed to a system call is too small) in VS2008.


Possibly because that's the last value that was set (with SetLastError()). In other words:

SomeWindowsFunctionThatFailsWithCode122();
CString csFilePath = _T("C:\\MyFolder\\");
if (csFilePath != _T("\\"))
{
    DWORD dwError = GetLastError();
}
If nothing calls SetLastError(0), then its internal value will stay 122.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


QuestionQuestion on boost weak pointers Pin
minkowski7-May-09 22:35
minkowski7-May-09 22:35 
AnswerRe: Question on boost weak pointers Pin
tolw7-May-09 22:56
tolw7-May-09 22:56 
GeneralRe: Question on boost weak pointers Pin
minkowski7-May-09 23:02
minkowski7-May-09 23:02 
GeneralRe: Question on boost weak pointers Pin
minkowski7-May-09 23:23
minkowski7-May-09 23:23 
GeneralRe: Question on boost weak pointers Pin
tolw8-May-09 0:10
tolw8-May-09 0:10 
AnswerRe: Question on boost weak pointers Pin
Stuart Dootson7-May-09 23:05
professionalStuart Dootson7-May-09 23:05 
GeneralRe: Question on boost weak pointers Pin
minkowski7-May-09 23:17
minkowski7-May-09 23:17 
GeneralRe: Question on boost weak pointers Pin
Stuart Dootson7-May-09 23:32
professionalStuart Dootson7-May-09 23:32 
GeneralRe: Question on boost weak pointers Pin
minkowski7-May-09 23:39
minkowski7-May-09 23:39 
QuestionDebug Assertion Failed! Pin
susanne17-May-09 21:51
susanne17-May-09 21:51 
AnswerRe: Debug Assertion Failed! Pin
CPallini7-May-09 21:59
mveCPallini7-May-09 21:59 
GeneralRe: Debug Assertion Failed! Pin
susanne17-May-09 23:16
susanne17-May-09 23:16 
QuestionRe: Debug Assertion Failed! Pin
CPallini7-May-09 23:58
mveCPallini7-May-09 23:58 
AnswerRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 0:41
Hamid_RT8-May-09 0:41 
GeneralRe: Debug Assertion Failed! Pin
CPallini8-May-09 0:48
mveCPallini8-May-09 0:48 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 0:51
Hamid_RT8-May-09 0:51 
AnswerRe: Debug Assertion Failed! Pin
Hamid_RT7-May-09 23:20
Hamid_RT7-May-09 23:20 

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.