Click here to Skip to main content
15,894,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SendMessage Pin
xrg_soft@163.com19-Jun-11 23:49
xrg_soft@163.com19-Jun-11 23:49 
GeneralRe: SendMessage Pin
Sakhalean20-Jun-11 0:00
Sakhalean20-Jun-11 0:00 
AnswerRe: SendMessage Pin
Albert Holguin20-Jun-11 4:42
professionalAlbert Holguin20-Jun-11 4:42 
Questiondoubi in vc++ Pin
Remya.pv19-Jun-11 18:24
Remya.pv19-Jun-11 18:24 
AnswerRe: doubi in vc++ Pin
Richard MacCutchan19-Jun-11 21:49
mveRichard MacCutchan19-Jun-11 21:49 
AnswerRe: doubi in vc++ Pin
Chandrasekharan P19-Jun-11 21:55
Chandrasekharan P19-Jun-11 21:55 
AnswerRe: doubi in vc++ Pin
Mark Salsbery20-Jun-11 11:05
Mark Salsbery20-Jun-11 11:05 
Questionabout "windows belonging to different processes are mixed in a single window hierarchy" Pin
xrg_soft@163.com19-Jun-11 17:40
xrg_soft@163.com19-Jun-11 17:40 
AnswerRe: about "windows belonging to different processes are mixed in a single window hierarchy" Pin
Mark Salsbery19-Jun-11 18:11
Mark Salsbery19-Jun-11 18:11 
GeneralRe: about "windows belonging to different processes are mixed in a single window hierarchy" Pin
xrg_soft@163.com20-Jun-11 19:06
xrg_soft@163.com20-Jun-11 19:06 
Questionregister window message Pin
so0_lanhlung219-Jun-11 16:56
so0_lanhlung219-Jun-11 16:56 
AnswerRe: register window message Pin
xrg_soft@163.com19-Jun-11 17:44
xrg_soft@163.com19-Jun-11 17:44 
GeneralRe: register window message Pin
softwaremonkey19-Jun-11 19:41
softwaremonkey19-Jun-11 19:41 
QuestionMoving Objects in small increments Pin
Cyclone_S19-Jun-11 14:07
Cyclone_S19-Jun-11 14:07 
QuestionRe: Moving Objects in small increments Pin
enhzflep19-Jun-11 15:03
enhzflep19-Jun-11 15:03 
AnswerRe: Moving Objects in small increments Pin
Cyclone_S19-Jun-11 16:03
Cyclone_S19-Jun-11 16:03 
GeneralRe: Moving Objects in small increments Pin
enhzflep19-Jun-11 16:23
enhzflep19-Jun-11 16:23 
GeneralRe: Moving Objects in small increments Pin
Cyclone_S19-Jun-11 16:49
Cyclone_S19-Jun-11 16:49 
GeneralRe: Moving Objects in small increments Pin
enhzflep19-Jun-11 18:24
enhzflep19-Jun-11 18:24 
GeneralRe: Moving Objects in small increments Pin
enhzflep19-Jun-11 21:35
enhzflep19-Jun-11 21:35 
GeneralRe: Moving Objects in small increments Pin
Cyclone_S20-Jun-11 14:33
Cyclone_S20-Jun-11 14:33 
GeneralRe: Moving Objects in small increments Pin
enhzflep20-Jun-11 18:45
enhzflep20-Jun-11 18:45 
QuestionWSA Events Pin
csrss19-Jun-11 3:32
csrss19-Jun-11 3:32 
Hi. I got the following situation,

void FunctionA(some params)
{
// do something
SOCKET sock = create new socket();
WSAEVENT hEvent = new event();
wsaeventselect(sock, event, some flags);
FunctionB(sock);
delete event();
}

void FunctionB(sock)
{
// here do something else with a socket
}

The thing is, i dont have access to FunctionA() but it calls
FunctionB()
, where i am the master and can do anything. In function B i am receiving a socket which has an event associated with it but nothing else. I got no handle to an event - nothing, just a socket. Is there any way to get this event handle having only socket descriptor? If there is no such API, windows system should store these events somewhere, right? Is there any way to dig into this place and grab events from there?
Thanks
011011010110000101100011011010000110100101101110
0110010101110011

AnswerRe: WSA Events Pin
enhzflep19-Jun-11 4:13
enhzflep19-Jun-11 4:13 
GeneralRe: WSA Events Pin
csrss19-Jun-11 5:43
csrss19-Jun-11 5:43 

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.