Re: using PlaySound within a dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



A passing thought...I would never hard code a file number like that. The
FreeFile function is a better alternative. :)

- Kev


"Thorsten Albers" <albersRE@xxxxxxxxxxxxxxxxxxx> wrote in message
news:01c5993c$f9dfac00$178ee684@xxxxxxxxxxx
> stacy <stacyirish@xxxxxxxxxxxxx> schrieb im Beitrag
> <1123179154.737801.303740@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
>> Thank you for the tips... alas with the changes you mentioned there is
>> still no sound for me.
>
> Are you really sure that the data of the resource are true wave sound
> data?
> To test it do the following:
> ...
> DataArray = LoadResData(101, "WAVE")
> Open "C:\TEST.WAV" For Binary Access Write as #99
> Put #99,, DataArray()
> Close #99
>
> Then try to play it with at least one wave sound player. Better try to
> play
> it with different wave sound players because some of them are able to
> adjust to bad wave sound data.
>
> --
> ----------------------------------------------------------------------
> THORSTEN ALBERS Universität Freiburg
> albers@
> uni-freiburg.de
> ----------------------------------------------------------------------
>


.