Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: checking for instance validity Pin
rp_suman15-Feb-08 4:41
rp_suman15-Feb-08 4:41 
QuestionRe: checking for instance validity Pin
David Crow15-Feb-08 4:49
David Crow15-Feb-08 4:49 
GeneralRe: checking for instance validity [modified] Pin
rp_suman15-Feb-08 5:41
rp_suman15-Feb-08 5:41 
Generaldefinition of ITypeInfo Pin
George_George14-Feb-08 21:17
George_George14-Feb-08 21:17 
GeneralRe: definition of ITypeInfo Pin
Rajkumar R14-Feb-08 22:00
Rajkumar R14-Feb-08 22:00 
GeneralRe: definition of ITypeInfo Pin
George_George14-Feb-08 22:14
George_George14-Feb-08 22:14 
GeneralRe: definition of ITypeInfo Pin
Rajkumar R14-Feb-08 22:22
Rajkumar R14-Feb-08 22:22 
GeneralRe: definition of ITypeInfo Pin
George_George14-Feb-08 22:42
George_George14-Feb-08 22:42 
QuestionHow to Display HTML strings in MFC ? Pin
Sharath Jagannath14-Feb-08 20:37
Sharath Jagannath14-Feb-08 20:37 
AnswerRe: How to Display HTML strings in MFC ? Pin
Rajesh R Subramanian14-Feb-08 20:41
professionalRajesh R Subramanian14-Feb-08 20:41 
GeneralRe: How to Display HTML strings in MFC ? Pin
Sharath Jagannath14-Feb-08 20:47
Sharath Jagannath14-Feb-08 20:47 
GeneralRe: How to Display HTML strings in MFC ? Pin
Sharath Jagannath14-Feb-08 20:48
Sharath Jagannath14-Feb-08 20:48 
GeneralRe: How to Display HTML strings in MFC ? Pin
Rajesh R Subramanian14-Feb-08 21:02
professionalRajesh R Subramanian14-Feb-08 21:02 
GeneralRe: How to Display HTML strings in MFC ? Pin
Sharath Jagannath14-Feb-08 21:41
Sharath Jagannath14-Feb-08 21:41 
AnswerRe: How to Display HTML strings in MFC ? Pin
jjoshua16-Feb-08 17:31
jjoshua16-Feb-08 17:31 
GeneralOnKeyUp() not get invoked Pin
Anu_Bala14-Feb-08 19:07
Anu_Bala14-Feb-08 19:07 
GeneralRe: OnKeyUp() not get invoked Pin
Prasanth M V14-Feb-08 23:23
Prasanth M V14-Feb-08 23:23 
QuestionAbt changing the settings of default keys In Win CE 6.0 Pin
Pankaj Kothawade14-Feb-08 18:52
Pankaj Kothawade14-Feb-08 18:52 
Generalencryption in windows mobile [modified] Pin
guru moorthy.k14-Feb-08 18:51
guru moorthy.k14-Feb-08 18:51 
GeneralRe: encryption in windows mobile Pin
Rajesh R Subramanian14-Feb-08 20:27
professionalRajesh R Subramanian14-Feb-08 20:27 
QuestionThreads not working in network Pin
Wamuti14-Feb-08 18:22
Wamuti14-Feb-08 18:22 
GeneralRe: Threads not working in network Pin
Rajkumar R14-Feb-08 19:08
Rajkumar R14-Feb-08 19:08 
QuestionRe: Threads not working in network Pin
Wamuti14-Feb-08 19:52
Wamuti14-Feb-08 19:52 
GeneralRe: Threads not working in network Pin
Mark Salsbery15-Feb-08 6:49
Mark Salsbery15-Feb-08 6:49 
GeneralRe: Threads not working in network Pin
Wamuti17-Feb-08 20:07
Wamuti17-Feb-08 20:07 
Mark Salsbery wrote:
Your problems have nothing to do with threads.


I did not know that. D'Oh! | :doh:

Mark Salsbery wrote:
A single threaded application can handle multiple socket connections.


I'd really appreciate if you could tell me how or recommend a site i can read about that. I woild really appreciate because that's what i need.

Mark Salsbery wrote:
Yes, there can be advantages to using multiple threads, but your socket
code is already not going to work so adding threads won't help here.


You've said that a single threaded application can handle multiple socket connections. What then are the advantages of multiple threads in a socket connection?

Mark Salsbery wrote:
1) I don't know what "OnListen()" is


Okay. It's a function that i have put so that i can initialize in OnInitDialog instead of clogging it with lots of code.
Mark Salsbery wrote:
There's nothing in the code you've shown that indicates that you know how to use
sockets. I would recommend getting that down pat before trying to throw threads at
the problems.


A bit harsh Wink | ;) but truth be told, you've hit the nail on the head.i am a begginner programmer working with a "Learn Visual C++ in 21 days" and trying my level best. Infact, i am making my very first socket program. Could you please recommend a site.

Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.

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.