|
Sean O'Connor's Windows Games |
|
||||||||||
|
The Games Info Contact About Sean O'Connor |
Here is some code that other developers may find useful Using WinInet to call a server script asynchronously Use this code to call a script (eg Perl, PHP) on a webserver. It runs asynchronously so your Windows program won't freeze up if the webserver is slow to respond. This code does not read back any reply from the webserver so it's not suitable if you need to hear the webserver's response. Creating and playing WAV files Here is all the code you need to create, save and play WAV files. It shows the format used by WAV files and all you need to do is to create the WAV data itself for the sounds you want (eg a sine wave etc...) Make the default browser display a web page This is just a single function to make the default web browser run (unless it's already running) and then display the web page of your choice. |