Callback Routine Not Getting Triggered
-
I've created a very simple one-button MFC dialog app that attempts to utilize a callback function. The app complies and runs just fine, but the callback routine never gets triggered. What needs to be modified in order to get the callback to trigger properly? You can download the test.zip file here (the test app is in VS 2003 to ensure more people can try it out): http://tinyurl.com/testfile-zip The code utilizes an alarm class posted here on CodeProject, and the callback function in the test app is suppsed to get triggered every 3 seconds (as determined by the code being passed in). Thanks!
-- Edward Livingston (aka ExtraLean) -- "I still maintain that seeing a nipple is far less disturbing than seeing someone get their brains blown out." -- Chris Maunder
-
I've created a very simple one-button MFC dialog app that attempts to utilize a callback function. The app complies and runs just fine, but the callback routine never gets triggered. What needs to be modified in order to get the callback to trigger properly? You can download the test.zip file here (the test app is in VS 2003 to ensure more people can try it out): http://tinyurl.com/testfile-zip The code utilizes an alarm class posted here on CodeProject, and the callback function in the test app is suppsed to get triggered every 3 seconds (as determined by the code being passed in). Thanks!
-- Edward Livingston (aka ExtraLean) -- "I still maintain that seeing a nipple is far less disturbing than seeing someone get their brains blown out." -- Chris Maunder
ExtraLean wrote:
The code utilizes an alarm class posted here on CodeProject
Why not post a message on that article's message thread? [edit]Also - you've got the source yourself - break out the debugger and try tracing through the source[/edit]
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p