Click here to Skip to main content
15,907,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I stop a do/while loop using a toolbar Pin
MAAK6-Jul-03 13:31
MAAK6-Jul-03 13:31 
GeneralUpdating dialogue Pin
andyg.1015-Jul-03 4:01
andyg.1015-Jul-03 4:01 
GeneralRe: Updating dialogue Pin
valikac5-Jul-03 7:09
valikac5-Jul-03 7:09 
Questionhow I can know which character can output? Pin
Alice805-Jul-03 3:58
Alice805-Jul-03 3:58 
AnswerRe: how I can know which character can output? Pin
David Crow5-Jul-03 12:26
David Crow5-Jul-03 12:26 
GeneralRe: how I can know which character can output? Pin
RChin6-Jul-03 23:25
RChin6-Jul-03 23:25 
GeneralTR1 (C++ Standard) Pin
Andrew Walker5-Jul-03 3:48
Andrew Walker5-Jul-03 3:48 
GeneralDEBUG ASSERTION FAILED: File: afx.inl Line: 157 Pin
spokes5-Jul-03 3:33
spokes5-Jul-03 3:33 
Hi
I have another Assertion problem.

You see I have Dialog app. This has other custom dialogs. But in this situation, 2 dialogs. The main dialog is used to call a 2nd dialog when necessary. The app receives information via the net (TCP stream style).

Now info comes in, and the MainDlg class has a thread that listens for the information. Info comes in, it is sent to the 2ndDlg.

Now in the 2nd dlg, I have declared a OnInitDialog function which sets the info from the Main Dlg and places it in the List Control of the 2nd Dlg. But I get the Assertion failure.

And this is the function that causes that:
// CString support (windows specific)
_AFX_INLINE int CString::Compare(LPCTSTR lpsz) const
{ ASSERT(AfxIsValidString(lpsz)); return _tcscmp(m_pchData, lpsz); } // MBCS/Unicode aware

I dont know how this is because I said:

WTF | :WTF:
2ndDlg.receivedInfo = MainDlg.Info ;
Then,
2ndDlg.DoModal() //this should initialise the window of Dlg.

Help is appreciated. Thanks.



Live in peace
GeneralRe: DEBUG ASSERTION FAILED: File: afx.inl Line: 157 Pin
spokes5-Jul-03 4:19
spokes5-Jul-03 4:19 
GeneralOnCmdMsg Pin
grotesque5-Jul-03 2:53
grotesque5-Jul-03 2:53 
GeneralRe: OnCmdMsg Pin
Ryan Binns5-Jul-03 3:27
Ryan Binns5-Jul-03 3:27 
GeneralRe: OnCmdMsg Pin
Xakep5-Jul-03 8:44
Xakep5-Jul-03 8:44 
Generalmaking dialog resizeable doesn't work Pin
neotrace5-Jul-03 1:50
neotrace5-Jul-03 1:50 
GeneralRe: making dialog resizeable doesn't work Pin
neotrace7-Jul-03 6:18
neotrace7-Jul-03 6:18 
Questionhow can I simulate a mouse click on a "Internet Explorer_Server" controll Pin
neotrace5-Jul-03 1:37
neotrace5-Jul-03 1:37 
AnswerRe: how can I simulate a mouse click on a "Internet Explorer_Server" controll Pin
Michael Dunn5-Jul-03 5:23
sitebuilderMichael Dunn5-Jul-03 5:23 
QuestionHow to login a remote machine through visual c++/c++ programming ? Pin
Member 3451565-Jul-03 0:53
Member 3451565-Jul-03 0:53 
AnswerRe: How to login a remote machine through visual c++/c++ programming ? Pin
Peter Weyzen7-Jul-03 21:26
Peter Weyzen7-Jul-03 21:26 
GeneralRe: How to login a remote machine through visual c++/c++ programming ? Pin
Member 3451568-Jul-03 18:47
Member 3451568-Jul-03 18:47 
GeneralRe: How to login a remote machine through visual c++/c++ programming ? Pin
Peter Weyzen8-Jul-03 19:19
Peter Weyzen8-Jul-03 19:19 
GeneralChecking an Application Pin
Aenaos5-Jul-03 0:45
Aenaos5-Jul-03 0:45 
GeneralRe: Checking an Application Pin
valikac5-Jul-03 7:11
valikac5-Jul-03 7:11 
GeneralRe: Checking an Application Pin
David Crow5-Jul-03 12:28
David Crow5-Jul-03 12:28 
GeneralRe: Checking an Application Pin
Peter Weyzen7-Jul-03 21:29
Peter Weyzen7-Jul-03 21:29 
Generalreserved words in VC 6 Pin
sharlila5-Jul-03 0:31
sharlila5-Jul-03 0:31 

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.