Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVector graphics help Pin
Christian Graus1-Oct-02 13:01
protectorChristian Graus1-Oct-02 13:01 
GeneralRe: Vector graphics help Pin
Scott H. Settlemier2-Oct-02 9:00
Scott H. Settlemier2-Oct-02 9:00 
GeneralRe: Vector graphics help Pin
Christian Graus2-Oct-02 9:55
protectorChristian Graus2-Oct-02 9:55 
General"Win Help Authoring" Tools. Pin
Jawache1-Oct-02 12:38
Jawache1-Oct-02 12:38 
GeneralRe: "Win Help Authoring" Tools. Pin
Ravi Bhavnani1-Oct-02 18:45
professionalRavi Bhavnani1-Oct-02 18:45 
GeneralIDispatch from _Recordset ! Pin
Hadi Rezaee1-Oct-02 12:17
Hadi Rezaee1-Oct-02 12:17 
QuestionOwnderdraw and multiple fonts? Pin
Anonymous1-Oct-02 12:09
Anonymous1-Oct-02 12:09 
AnswerRe: Ownderdraw and multiple fonts? Pin
Joaquín M López Muñoz1-Oct-02 12:09
Joaquín M López Muñoz1-Oct-02 12:09 
GeneralRe: Ownderdraw and multiple fonts? Pin
Tomasz Sowinski1-Oct-02 12:15
Tomasz Sowinski1-Oct-02 12:15 
GeneralRe: Ownderdraw and multiple fonts? Pin
Joaquín M López Muñoz1-Oct-02 12:17
Joaquín M López Muñoz1-Oct-02 12:17 
GeneralRe: Ownderdraw and multiple fonts? Pin
Tomasz Sowinski1-Oct-02 12:25
Tomasz Sowinski1-Oct-02 12:25 
GeneralRe: Ownderdraw and multiple fonts? Pin
Joaquín M López Muñoz1-Oct-02 12:39
Joaquín M López Muñoz1-Oct-02 12:39 
GeneralRe: Ownderdraw and multiple fonts? Pin
Tomasz Sowinski2-Oct-02 1:01
Tomasz Sowinski2-Oct-02 1:01 
GeneralRe: Ownderdraw and multiple fonts? Pin
Anonymous1-Oct-02 12:19
Anonymous1-Oct-02 12:19 
GeneralRe: Ownderdraw and multiple fonts? Pin
Joaquín M López Muñoz1-Oct-02 12:21
Joaquín M López Muñoz1-Oct-02 12:21 
GeneralRe: Thanks. Ownderdraw and multiple fonts? Pin
Anonymous1-Oct-02 12:35
Anonymous1-Oct-02 12:35 
AnswerRe: Ownderdraw and multiple fonts? Pin
Tomasz Sowinski1-Oct-02 12:13
Tomasz Sowinski1-Oct-02 12:13 
AnswerRe: Ownderdraw and multiple fonts? Pin
Anonymous1-Oct-02 12:15
Anonymous1-Oct-02 12:15 
GeneralRe: Ownderdraw and multiple fonts (2 more questions)? Pin
Anonymous1-Oct-02 12:38
Anonymous1-Oct-02 12:38 
GeneralRe: Ownderdraw and multiple fonts (2 more questions)? Pin
Anonymous2-Oct-02 8:41
Anonymous2-Oct-02 8:41 
GeneralThreaded winsock question Pin
1-Oct-02 12:00
suss1-Oct-02 12:00 
GeneralRe: Threaded winsock question Pin
Joaquín M López Muñoz1-Oct-02 12:06
Joaquín M López Muñoz1-Oct-02 12:06 
I tried creating a struct containing the client socket and the ip address from MTServerThread, and passed it into ClientThread, but for some reason it wouldn't allow me to cast the struct as LPVOID (which I find odd because I thought SOCKET was just a struct).

This can be done (though some precautions have to be made against memory leaks). Could you please post the code to see where the error is?

I may be wrong, but it looks as if accepting the connection is important to the threading of the program since it only spawns a new thread when a new connection is found...

This is not true; you can happily pass the SOCKET to a different thread and let it call accept on it.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Threaded winsock question Pin
Anonymous1-Oct-02 12:37
Anonymous1-Oct-02 12:37 
GeneralRe: Threaded winsock question Pin
Jon Hulatt1-Oct-02 21:37
Jon Hulatt1-Oct-02 21:37 
GeneralSource Control Integration Pin
Jon Sagara1-Oct-02 11:48
Jon Sagara1-Oct-02 11:48 

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.