Click here to Skip to main content
15,919,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
KarstenK14-Jun-07 2:20
mveKarstenK14-Jun-07 2:20 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 3:07
kcynic14-Jun-07 3:07 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
KarstenK14-Jun-07 3:17
mveKarstenK14-Jun-07 3:17 
AnswerRe: ASSERT()! Why?And how to resolve it? Pin
Roger Stoltz14-Jun-07 1:04
Roger Stoltz14-Jun-07 1:04 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 1:17
kcynic14-Jun-07 1:17 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
Roger Stoltz14-Jun-07 1:32
Roger Stoltz14-Jun-07 1:32 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 2:08
kcynic14-Jun-07 2:08 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
Roger Stoltz14-Jun-07 3:45
Roger Stoltz14-Jun-07 3:45 
Ok, so you've used Newcomer's example as starting point.

As I understand it, you're passing the CClientThread pointer between dialogs. I don't see why though... You have to explain this because this could be part of your problem.

When I asked about some code snippets I wasn't joking; it's impossible to help you further if you don't show what you've done so far. It should be sufficient with the code that creates the dialogs.
For some reason I feel like your dialogs are created in the threads that contains the sockets. This is not a good thing for many reasons. You should post messages to the main thread to do this stuff so that the main window is the parent for your dialogs.

By the way:
I haven't received any mail from you regarding your problems and even if I did I would would have informed you not to post to me, or anyone on the boards, directly.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 19:35
kcynic14-Jun-07 19:35 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 19:54
kcynic14-Jun-07 19:54 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
Roger Stoltz15-Jun-07 0:15
Roger Stoltz15-Jun-07 0:15 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic15-Jun-07 0:44
kcynic15-Jun-07 0:44 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
Roger Stoltz15-Jun-07 1:35
Roger Stoltz15-Jun-07 1:35 
GeneralRe: ASSERT()! Why?And how to resolve it? Pin
kcynic14-Jun-07 20:32
kcynic14-Jun-07 20:32 
Questionpicture control Pin
tyagineha14-Jun-07 0:17
tyagineha14-Jun-07 0:17 
AnswerRe: picture control Pin
Mark Salsbery14-Jun-07 7:50
Mark Salsbery14-Jun-07 7:50 
GeneralRe: picture control Pin
Hamid_RT14-Jun-07 20:09
Hamid_RT14-Jun-07 20:09 
QuestionRe: picture control Pin
tyagineha14-Jun-07 20:17
tyagineha14-Jun-07 20:17 
AnswerRe: picture control Pin
Mark Salsbery15-Jun-07 5:37
Mark Salsbery15-Jun-07 5:37 
QuestionGetting TCP/UDP Tables with ProcessIDs before XP Pin
Akin Ocal13-Jun-07 23:17
Akin Ocal13-Jun-07 23:17 
QuestionDebugging in VC++ Pin
Raj Prathap13-Jun-07 23:08
Raj Prathap13-Jun-07 23:08 
AnswerRe: Debugging in VC++ Pin
Programm3r13-Jun-07 23:15
Programm3r13-Jun-07 23:15 
GeneralRe: Debugging in VC++ Pin
Raj Prathap13-Jun-07 23:24
Raj Prathap13-Jun-07 23:24 
GeneralRe: Debugging in VC++ Pin
Programm3r13-Jun-07 23:41
Programm3r13-Jun-07 23:41 
AnswerRe: Debugging in VC++ Pin
Naveen13-Jun-07 23:29
Naveen13-Jun-07 23:29 

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.