The sad thing about this is that I kind of understand why someone would make something like that. The first Windows DLL I ever made was nothing more than an attempt to make a function that would play notes on the PC speaker in both Win 98 & 2K.
I actually had a little music player written in VBS that used it. For those who know enough about VBS to wonder how on earth you could access a DLL from it, someone else made an OCX marked 'safe for scripting' that did that by writing out assembly code and then calling it via some hack. And you could even store the OCX inside the script by abusing more crazy bugs that let you open a file in binary mode (though you had to store the OCX as a horrible "string" constant).
Oh, and we're not done with the Rube Goldberg contraption yet. It was actually executed not by Windows itself, but via some proprietary company testing tool that used VBS to script itself. I blame severe boredom for causing me to do things in such an absurd way. I didn't think of using it for an alarm, though.
Incidentally, the only piece I ever wrote for it was one of Chopin's Etudes. I don't think I can find that piece any more, but it would be something like this (but the piece had only one note at a time):
Comments
The sad thing about this is that I kind of understand why someone would make something like that. The first Windows DLL I ever made was nothing more than an attempt to make a function that would play notes on the PC speaker in both Win 98 & 2K.
I actually had a little music player written in VBS that used it. For those who know enough about VBS to wonder how on earth you could access a DLL from it, someone else made an OCX marked 'safe for scripting' that did that by writing out assembly code and then calling it via some hack. And you could even store the OCX inside the script by abusing more crazy bugs that let you open a file in binary mode (though you had to store the OCX as a horrible "string" constant).
Oh, and we're not done with the Rube Goldberg contraption yet. It was actually executed not by Windows itself, but via some proprietary company testing tool that used VBS to script itself. I blame severe boredom for causing me to do things in such an absurd way. I didn't think of using it for an alarm, though.
Incidentally, the only piece I ever wrote for it was one of Chopin's Etudes. I don't think I can find that piece any more, but it would be something like this (but the piece had only one note at a time):
http://en.wikipedia.org/wiki/%C3%89tude_Op._10,_No._4_%28Cho...