ResDemo

Description

Short story: Shows how to play WAV files directly from RES files, as well as some other resource-based bitmap techniques.

Longer description from old site: click here.

To be edited...

Published

This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):

APIs Usage

This sample uses the following API calls:

Module Library Function
CPictureDC.cls gdi32




user32

CreateCompatibleDC
DeleteDC
DeleteObject
GetObject
SelectObject
GetDC
GetDesktopWindow
ReleaseDC
CustomBlt.bas gdi32










user32

BitBlt
CreateBitmap
CreateCompatibleBitmap
CreateCompatibleDC
DeleteDC
DeleteObject
GetDeviceCaps
GetObject
SelectObject
SetBkColor
SetBkMode
GetClientRect
GetDC
ReleaseDC
MSndRes.bas winmm
PlaySound
PlaySound
ResDemo.frm user32 DrawIcon

Don't see what you're looking for? Here's a complete API cross-reference.

Download

Download ResDemo.zip   Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution.

Download ResDemo.zip, 488Kb, Last Updated: Wednesday, April 12, 2000