[Q]: Dynamic Loading of DLL

From: Sajid (sajidbmsATyahooDOTcom)
Date: 08/27/04


Date: Fri, 27 Aug 2004 09:13:11 +0530

Hi all,

I am working on audio driver [unified audio model].

I have a middle layer between my application and my driver and it is hidden.
My application uses standard API provided by the middle layer, like
waveOutOpen.

The middle layer I am refering to, is the waveapi.dll & audevman.dll.
now this middle layer is making WAV_Init, WAV_IOControl ... calls by
decoding its standard APIs, like waveOutOpen.

now, the point is, my application wavplay.exe is not specifically using any
of the entry points of my audio driver directly.

when I load my audio driver at boot time, everything happens normally.
and when i try loading my audio driver at runtime, it is not
loaded, and my application fails.

so, now I would like to know whether I need to change any thing in my
registry
or something else so that my audio driver gets loaded at runtime.
I have changed my registry from:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\audio]
   "Prefix"="WAV"
   "Dll"="audio.dll"
   "Order"=dword:0

to:

[HKEY_LOCAL_MACHINE\Drivers\audio]
   "Prefix"="WAV"
   "Dll"="audio.dll"
   "Order"=dword:0

regards
sajid



Relevant Pages

  • Re: volume setting
    ... Have no reason to not trust you, ... volume is reduced and the volume slider is at the down position. ... So I did a registry ... I don't think the audio driver is reading this registry key, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: volume setting
    ... When I go to the control ... volume is reduced and the volume slider is at the down position. ... So I did a registry ... I don't think the audio driver is reading this registry key, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: volume setting
    ... I have doubts setting the volume in registry will actually ... key at at startup. ... default value set in the audio driver. ... I Have hardcoded the volume setting in the audio driver of my wince image ...
    (microsoft.public.windowsce.platbuilder)
  • Re: volume setting
    ... If your registry is persistent already, ... I don't think the audio driver is reading this registry key, ... You might see this in the control panel volume settings, the slider ...
    (microsoft.public.windowsce.platbuilder)
  • speaker volume setting lost
    ... I have flushed the registry explicitly, and I can see that the new ... driver sets the volume to max when it initializes. ... control panel app Volume & Sounds. ... One solution would be to let the audio driver get the volume from the ...
    (microsoft.public.windowsce.platbuilder)