Click here to Skip to main content
16,005,467 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How To make sure sound plays without skipping Pin
brdavid23-Dec-06 9:10
brdavid23-Dec-06 9:10 
GeneralRe: How To make sure sound plays without skipping Pin
Mark Salsbery23-Dec-06 11:35
Mark Salsbery23-Dec-06 11:35 
GeneralRe: How To make sure sound plays without skipping Pin
brdavid23-Dec-06 12:30
brdavid23-Dec-06 12:30 
GeneralRe: How To make sure sound plays without skipping Pin
Mark Salsbery23-Dec-06 13:57
Mark Salsbery23-Dec-06 13:57 
QuestionRunninig script in Excel Pin
yaros2122-Dec-06 23:16
yaros2122-Dec-06 23:16 
AnswerRe: Runninig script in Excel Pin
yaros2123-Dec-06 0:57
yaros2123-Dec-06 0:57 
QuestionCan't set windows hook - what wrong with my code ? Pin
Yanshof22-Dec-06 23:11
Yanshof22-Dec-06 23:11 
AnswerRe: Can't set windows hook - what wrong with my code ? Pin
Gary R. Wheeler23-Dec-06 3:00
Gary R. Wheeler23-Dec-06 3:00 
A couple of things, according to the SetWindowsHookEx[^] article in MSDN:

1. As a rule, your hook function must defined in a DLL. It's not clear from your code that you've done that.

2. You are passing an hinstance value of NULL, which probably isn't correct. You need to pass the instance handle for the DLL, which is a parameter to your DllMain[^] function.


Software Zen: delete this;

GeneralRe: Can't set windows hook - what wrong with my code ? Pin
Yanshof23-Dec-06 3:21
Yanshof23-Dec-06 3:21 
GeneralRe: Can't set windows hook - what wrong with my code ? Pin
Gary R. Wheeler23-Dec-06 4:10
Gary R. Wheeler23-Dec-06 4:10 
QuestionATL Object wizard Pin
messages22-Dec-06 21:02
messages22-Dec-06 21:02 
AnswerRe: ATL Object wizard Pin
Jeffrey Walton23-Dec-06 5:10
Jeffrey Walton23-Dec-06 5:10 
QuestionCBEM_INSERTITEM fails Pin
khv_inviZ22-Dec-06 20:03
khv_inviZ22-Dec-06 20:03 
AnswerRe: CBEM_INSERTITEM fails Pin
Mark Salsbery23-Dec-06 7:08
Mark Salsbery23-Dec-06 7:08 
AnswerRe: CBEM_INSERTITEM fails Pin
CPallini23-Dec-06 8:26
mveCPallini23-Dec-06 8:26 
QuestionPlugin Interface Question Pin
User 1278222-Dec-06 12:43
User 1278222-Dec-06 12:43 
AnswerRe: Plugin Interface Question Pin
Gary R. Wheeler23-Dec-06 3:09
Gary R. Wheeler23-Dec-06 3:09 
GeneralRe: Plugin Interface Question Pin
User 1278227-Dec-06 11:39
User 1278227-Dec-06 11:39 
QuestionWin-Sockets / Unicode Pin
FreeCastle22-Dec-06 9:44
FreeCastle22-Dec-06 9:44 
AnswerRe: Win-Sockets / Unicode Pin
Mark Salsbery22-Dec-06 12:04
Mark Salsbery22-Dec-06 12:04 
GeneralRe: Win-Sockets / Unicode Pin
FreeCastle22-Dec-06 20:57
FreeCastle22-Dec-06 20:57 
GeneralRe: Win-Sockets / Unicode Pin
Gary R. Wheeler23-Dec-06 3:12
Gary R. Wheeler23-Dec-06 3:12 
GeneralRe: Win-Sockets / Unicode Pin
Mark Salsbery23-Dec-06 6:52
Mark Salsbery23-Dec-06 6:52 
GeneralRe: Win-Sockets / Unicode Pin
FreeCastle28-Dec-06 3:57
FreeCastle28-Dec-06 3:57 
QuestionHandling images Pin
hint_5422-Dec-06 9:04
hint_5422-Dec-06 9:04 

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.