Re: using PlaySound within a dll
- From: Tom Esh <tjeshGibberish@xxxxxxxxxx>
- Date: Thu, 04 Aug 2005 20:31:34 -0400
On 4 Aug 2005 15:02:32 -0700, "stacy" <stacyirish@xxxxxxxxxxxxx>
wrote:
>Yes, simplification includes using the PlaySoundLong function... it
>seems to be easier to call. In response to the post before, yes the
>sound is wave sound. I can hear it when I call PlaySoundLong in an exe
>but not when I put PlaySoundLong in a dll. Yes, I am already hating
>myself for what I know must be something really dumb - but I do have
>the speakers on and the sound a-blasting.
This is strange. Just tried it (playing a sound resource from a dll)
to verify my assumptions and it works as expected. Almost makes me
think it's something really lame - like a corrupted res file or
mis-matched res ID or type ID. Then again, you said it worked from an
ordinary exe, so I dunno... You sure the dll was built with the res
file?
-Tom
MVP - Visual Basic
(please post replies to the newsgroup)
.
- References:
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- From: Bob Butler
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- From: MikeD
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- From: Tom Esh
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- From: Ken Halter
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- Prev by Date: Re: using PlaySound within a dll
- Next by Date: Re: Function to get workstation name?
- Previous by thread: Re: using PlaySound within a dll
- Next by thread: Re: using PlaySound within a dll
- Index(es):
Relevant Pages
|