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

C / C++ / MFC

 
GeneralRe: /OPT:REF Pin
Alvaro Mendez24-Oct-02 10:09
Alvaro Mendez24-Oct-02 10:09 
GeneralRe: /OPT:REF Pin
Joe Woodbury24-Oct-02 11:28
professionalJoe Woodbury24-Oct-02 11:28 
Questionhow can I make a multirow CPropertySheet? Pin
DanYELL24-Oct-02 3:09
DanYELL24-Oct-02 3:09 
AnswerRe: how can I make a multirow CPropertySheet? Pin
Mike Nordell24-Oct-02 3:47
Mike Nordell24-Oct-02 3:47 
GeneralRe: how can I make a multirow CPropertySheet? Pin
DanYELL24-Oct-02 4:54
DanYELL24-Oct-02 4:54 
AnswerRe: how can I make a multirow CPropertySheet? Pin
Ravi Bhavnani24-Oct-02 5:10
professionalRavi Bhavnani24-Oct-02 5:10 
GeneralI want that TabCtrl! Pin
solosnake24-Oct-02 2:55
solosnake24-Oct-02 2:55 
QuestionSockets without MFC/HWNDs or Spin-Locks? Pin
Phil Speller24-Oct-02 2:07
Phil Speller24-Oct-02 2:07 
MFC's ASyncSocket class provides a wrapper around a Win32 socket and adds functionality to detect events (such as connection, packet received etc). Now I'm aware that a similar method can be performed using plain winsock programming and the use of WSAAsyncSelect. However, it requires the use of a window to receive events (CAsyncSocket does it like this as well doesn't it?). I've seen code that sets up a thread and just waits on recv() using a spin-lock - this seems to go against the grain with me though. I have noticed the select() fn, but I'm not sure if it would truly be thread friendly or would just hide a spin-lock. So, to my question: Is it possible to detect an event from a Socket without resorting to window messages or requiring a spin-lock?



Phil
AnswerRe: Sockets without MFC/HWNDs or Spin-Locks? Pin
Stephane Rodriguez.24-Oct-02 3:46
Stephane Rodriguez.24-Oct-02 3:46 
AnswerRe: Sockets without MFC/HWNDs or Spin-Locks? Pin
JT Anderson24-Oct-02 5:54
JT Anderson24-Oct-02 5:54 
GeneralOwnerDraw ListCtrl problem - help! Pin
Yaron Nir24-Oct-02 1:57
Yaron Nir24-Oct-02 1:57 
GeneralReading a Wav Header Pin
carrie24-Oct-02 1:37
carrie24-Oct-02 1:37 
GeneralRe: Reading a Wav Header Pin
Phil Speller24-Oct-02 2:35
Phil Speller24-Oct-02 2:35 
GeneralRe: Reading a Wav Header Pin
carrie24-Oct-02 2:50
carrie24-Oct-02 2:50 
Generalerror message is Popped up when.. Pin
BK Pradeep24-Oct-02 0:51
BK Pradeep24-Oct-02 0:51 
QuestionWhose problem?ListView or database? Pin
ratios24-Oct-02 0:07
sussratios24-Oct-02 0:07 
AnswerRe: Whose problem?ListView or database? Pin
Michael P Butler24-Oct-02 1:02
Michael P Butler24-Oct-02 1:02 
GeneralRe: Whose problem?ListView or database? Pin
Steve S24-Oct-02 2:43
Steve S24-Oct-02 2:43 
GeneralSubclassing problem Pin
Mazdak23-Oct-02 23:30
Mazdak23-Oct-02 23:30 
GeneralRe: Subclassing problem Pin
Simon.W24-Oct-02 1:15
Simon.W24-Oct-02 1:15 
GeneralRe: Subclassing problem Pin
Mazdak24-Oct-02 1:43
Mazdak24-Oct-02 1:43 
QuestionHow to sort CArray? Pin
ooosawaddee323-Oct-02 22:58
ooosawaddee323-Oct-02 22:58 
AnswerRe: How to sort CArray? Pin
Christian Graus24-Oct-02 0:24
protectorChristian Graus24-Oct-02 0:24 
AnswerRe: How to sort CArray? Pin
Atlantys24-Oct-02 3:34
Atlantys24-Oct-02 3:34 
AnswerRe: How to sort CArray? Pin
Mike Eriksson25-Oct-02 0:06
Mike Eriksson25-Oct-02 0:06 

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.