Re: using PlaySound within a dll
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Aug 2005 08:38:09 -0700
"stacy" <stacyirish@xxxxxxxxxxxxx> wrote in message
news:1123169420.438985.231850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
> I am trying to use PlaySound within a dll to play a .wav located in a
> resource file which is also in the same dll. I believe the trouble is
> that I cannot figure out how to get the hInstance of the dll to pass to
> PlaySound (the hModule parameter). Does anyone know how to do this or
> am I way off?
See:
Playing a WAV File stored as a VB6
http://groups.google.com.my/group/microsoft.public.vb.winapi/browse_thread/thread/e79ad51bc64d5215/04ca60613025a034?lnk=st&q=wav+resource+-dotnet+group:*.vb.*&rnum=4&hl=en#04ca60613025a034
--
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..
.
- Follow-Ups:
- Re: using PlaySound within a dll
- From: stacy
- Re: using PlaySound within a dll
- References:
- using PlaySound within a dll
- From: stacy
- using PlaySound within a dll
- Prev by Date: using PlaySound within a dll
- Next by Date: Re: passing array structure from vb to vc++ dll
- Previous by thread: using PlaySound within a dll
- Next by thread: Re: using PlaySound within a dll
- Index(es):
Relevant Pages
|