I placed a wav file into a res file using Visual C++ v5.
I gave it the ID 101
I also also placed 2 bitmap. ID 102 and 103 respectably.
I got the bitmaps out using this statement.
Set Picture1 = LoadResPicture(102, 0)
Set Picture2 = LoadResPicture(103, 0)
But when I tried to get the wav out:
Dim b() As Byte
b = LoadResData(101, 10)
It said that there was no 101 res.
But I know it's in there.
So can somebody show me, how to extract a wav from a res, and
then play it?