Re: using PlaySound within a dll



Yes, thank you for responding but that does not really help me though.
I know how to use PlaySound in an exe if the .wav is in a resource file
either in the exe or in an external dll but what I do not know how to
do is use PlaySound within the same dll as the resource file. If I am
correct in my assumption that my problem lies with the hModule
parameter of PlaySound then my question is really more along the lines
of "if I am a dll, how do I get my own instance handle?"

Thanks for any help,
Stacy

.



Relevant Pages

  • Re: Include DLLs within an EXE
    ... I'm now wondering if it is possible to include the DLL within the final EXE ... file - somewhat like including a resource file within the EXE. ... the number of files associated with an app. ...
    (comp.lang.pascal.delphi.misc)
  • using PlaySound within a dll
    ... resource file which is also in the same dll. ... PlaySound (the hModule parameter). ...
    (microsoft.public.vb.winapi)
  • Re: using PlaySound within a dll
    ... > 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. ... > PlaySound. ...
    (microsoft.public.vb.winapi)
  • Re: conflict viewer error in sync manager
    ... Do the dll, resource file and exe all have the same version numbers ... Paul Ibison ...
    (microsoft.public.sqlserver.replication)
  • How to download other files when hosting winform control in IE?
    ... One of my control need a small resource file not embeded in DLL. ... build the exe version of my application, I just put the resource file in the ... However, when I depoly the control via IE, how can I ...
    (microsoft.public.dotnet.framework.windowsforms.controls)

Loading