المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Callback Routine Not Getting Triggered



C++ Programming
04-03-2009, 11:20 AM
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