Showing posts with label WinAPI. Show all posts
Showing posts with label WinAPI. Show all posts

Wednesday, June 4, 2008

eGUI++ - Easy GUI for C++

Hey guys,

It's finally here: eGUI++ (Easy GUI for C++). It's the follower of win32gui, much easier to use, much simpler, cool code-completion, events are very simple to use, and a lot more goodies.

Read about it on MSDN
And download it from here

Best,
John

Thursday, February 14, 2008

::PlaySound - sometimes doesn't work

The great API function - ::PlaySound, sometimes doesn't actually play the file I'm sending.

How do I know? I've set up a monitor email system, which should play an alert sound when a new email arrives or when the internet connection is down for at least 5 minutes. However, sometimes, after a few hours of running, when some event actually happens, the ::PlaySound function gets called, but no sound is heard.

To get 'round this, here's what I do:
Every 10 seconds, I stop the sound, and play it again. The second or the 3rd time, the sound is actually heard.