Click here to Skip to main content
15,888,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Source Control Integration Pin
Tomasz Sowinski1-Oct-02 11:55
Tomasz Sowinski1-Oct-02 11:55 
GeneralRe: Source Control Integration Pin
Jon Sagara1-Oct-02 12:48
Jon Sagara1-Oct-02 12:48 
GeneralRe: Source Control Integration Pin
Jon Sagara1-Oct-02 14:03
Jon Sagara1-Oct-02 14:03 
GeneralSpecialized User Interface Design for MSN Messenger Pin
James A Beggs1-Oct-02 11:38
James A Beggs1-Oct-02 11:38 
GeneralCFrameWnd::Create Pin
RK_20001-Oct-02 11:26
RK_20001-Oct-02 11:26 
GeneralRe: CFrameWnd::Create Pin
Tomasz Sowinski1-Oct-02 11:39
Tomasz Sowinski1-Oct-02 11:39 
GeneralRe: CFrameWnd::Create Pin
Anonymous1-Oct-02 12:40
Anonymous1-Oct-02 12:40 
GeneralDLL hell. please help! Pin
will13831-Oct-02 10:49
will13831-Oct-02 10:49 
GeneralRe: DLL hell. please help! Pin
Tomasz Sowinski1-Oct-02 11:15
Tomasz Sowinski1-Oct-02 11:15 
GeneralRe: DLL hell. please help! Pin
Dimitri Rochette1-Oct-02 11:44
Dimitri Rochette1-Oct-02 11:44 
Generalproblem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 10:49
sussMariusz Popiolek1-Oct-02 10:49 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 11:27
sussMariusz Popiolek1-Oct-02 11:27 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Tomasz Sowinski1-Oct-02 11:42
Tomasz Sowinski1-Oct-02 11:42 
GeneralRe: problem with pasting bitmap to the clipboard under win98 Pin
Mariusz Popiolek1-Oct-02 12:13
sussMariusz Popiolek1-Oct-02 12:13 

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.