Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOutput Printing Pin
BRIMID14-Dec-04 5:12
BRIMID14-Dec-04 5:12 
GeneralRe: Output Printing Pin
David Crow14-Dec-04 5:19
David Crow14-Dec-04 5:19 
GeneralRe: Output Printing Pin
BlackDice14-Dec-04 5:22
BlackDice14-Dec-04 5:22 
GeneralRe: Output Printing Pin
toxcct14-Dec-04 5:31
toxcct14-Dec-04 5:31 
GeneralDead Code Detection Pin
Aaron Schaefer14-Dec-04 4:46
Aaron Schaefer14-Dec-04 4:46 
GeneralRe: Dead Code Detection Pin
David Crow14-Dec-04 5:15
David Crow14-Dec-04 5:15 
GeneralRe: Dead Code Detection Pin
Blake Miller15-Dec-04 4:23
Blake Miller15-Dec-04 4:23 
GeneralSocket Events Question Pin
jerry1211a14-Dec-04 4:37
jerry1211a14-Dec-04 4:37 
////////////////////////////////////////////////////////////////
code segments:

static int gnWSNotifyMsg = RegisterWindowMessage(__FILE__ ":wsnotify");

ON_REGISTERED_MESSAGE(gnWSNotifyMsg, OnWinsockNotify)

This is called when an event occurs:
OnWinsockNotify(WPARAM, LPARAM lParam)

/////////////////////////////////////////////////////////////////
I am looking at some code that gives notification when a network event occurs on a socket.

1. Can someone tell me what __FILE__ ":wsnotify" means in the code above?

2. When I get an event, a user defined function "OnWinsockNotify()" is called. What are WPARAM, LPARAM lParam in the argument list above?

Thanks.
Jerry
GeneralRe: Socket Events Question Pin
Iain Clarke, Warrior Programmer14-Dec-04 5:53
Iain Clarke, Warrior Programmer14-Dec-04 5:53 
Generalicon issues of windows XP and 2K Pin
includeh1014-Dec-04 3:16
includeh1014-Dec-04 3:16 
GeneralCAsyncMonikerFile Pin
PetoG14-Dec-04 3:08
PetoG14-Dec-04 3:08 
Generalprogrammatically prevent dialog from resize and move Pin
erkanina14-Dec-04 2:36
erkanina14-Dec-04 2:36 
GeneralRe: programmatically prevent dialog from resize and move Pin
Blake Miller14-Dec-04 4:09
Blake Miller14-Dec-04 4:09 
GeneralRe: programmatically prevent dialog from resize and move Pin
erkanina14-Dec-04 21:28
erkanina14-Dec-04 21:28 
Generalproblem with writing to file Pin
gamitech14-Dec-04 2:26
gamitech14-Dec-04 2:26 
GeneralRe: problem with writing to file Pin
Iain Clarke, Warrior Programmer14-Dec-04 6:01
Iain Clarke, Warrior Programmer14-Dec-04 6:01 
GeneralRe: problem with writing to file Pin
gamitech15-Dec-04 1:08
gamitech15-Dec-04 1:08 
Questionserial comm timeout problem? Pin
doneirik14-Dec-04 2:19
doneirik14-Dec-04 2:19 
AnswerRe: serial comm timeout problem? Pin
Roger Stoltz14-Dec-04 4:30
Roger Stoltz14-Dec-04 4:30 
QuestionDelete object, necessaray?? Pin
tpndtbk14-Dec-04 2:15
tpndtbk14-Dec-04 2:15 
AnswerRe: Delete object, necessaray?? Pin
Maximilien14-Dec-04 2:27
Maximilien14-Dec-04 2:27 
AnswerRe: Delete object, necessaray?? Pin
V.14-Dec-04 3:00
professionalV.14-Dec-04 3:00 
GeneralRe: Delete object, necessaray?? Pin
toxcct14-Dec-04 4:29
toxcct14-Dec-04 4:29 
GeneralRe: Delete object, necessaray?? Pin
V.14-Dec-04 4:38
professionalV.14-Dec-04 4:38 
GeneralRe: Delete object, necessaray?? Pin
toxcct14-Dec-04 4:53
toxcct14-Dec-04 4:53 

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.