Re: using PlaySound within a dll

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



"stacy" <stacyirish@xxxxxxxxxxxxx> wrote in message
news:1123190646.750704.152080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thanks again for the ideas however my problem persists! One last
> attempt before I give up on this...
>
> I have now tried to simplify and compare:

That simplification removed the LoadResData line?

>
> It is the same code, yes? Why why why is there no sound? Even in the
> dll case, X is returning true but I hear nothing.
>
> Any more thoughts?
> Stacy

You'll hate yourself if you've made a common mistake we see a lot around
here.... make sure the speakers are turned on <g> fwiw, I'd try to repro the
problem but I don't have any resource files that contain audio.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..


.