Hi all,

What are the changes that needs to be done to
load the DLL during runtime [in registry], i.e., when
an application using this DLL is run ?
presently my DLL is getting loaded at boot up time.
I would like to postpone this DLL load at runtime.

regards
sajid

Re: DLL load by Bruce

Bruce
Tue Aug 24 00:05:09 CDT 2004

It is getting loaded at boot time, so it is a driver?

What registry entry did you put in, remove it. It might be in
HKLM\Drivers\Builtin

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: DLL load by Sajid

Sajid
Tue Aug 24 07:36:20 CDT 2004

Yes, you are right.
It is a driver and its registry is in Builtin.
Just removing this registry would suffice ?

regards
sajid

"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:%23KrVwfZiEHA.3664@TK2MSFTNGP11.phx.gbl...
> It is getting loaded at boot time, so it is a driver?
>
> What registry entry did you put in, remove it. It might be in
> HKLM\Drivers\Builtin
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>



Re: DLL load by Bruce

Bruce
Tue Aug 24 08:01:24 CDT 2004

Try it.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: DLL load by Sujith

Sujith
Tue Aug 24 08:04:03 CDT 2004

hi,
yes, that is true...
move it to HKLM\Drivers\Builtin
give the following details..
"SysIntr"=
"Dll"=".dll"
"Prefix"="XXX"
"Order"=
I assume that it is a stream interface driver
regards
sujith


"Sajid" <sajidbms@yahoo.com> wrote in message
news:%23T642bdiEHA.344@TK2MSFTNGP10.phx.gbl...
> Yes, you are right.
> It is a driver and its registry is in Builtin.
> Just removing this registry would suffice ?
>
> regards
> sajid
>
> "Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote
in
> message news:%23KrVwfZiEHA.3664@TK2MSFTNGP11.phx.gbl...
> > It is getting loaded at boot time, so it is a driver?
> >
> > What registry entry did you put in, remove it. It might be in
> > HKLM\Drivers\Builtin
> >
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > beitman AT applieddata DOT net
> >
> > Applied Data Systems
> > www.applieddata.net
> > An ISO 9001:2000 Registered Company
> > Microsoft WEP Gold-level Member
> >
> > Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> > Embedded newsgroups? Let us know!
> > https://www.windowsembeddedeval.com/community/newsgroups
> >
> >
>
>



Re: DLL load by Sajid

Sajid
Wed Aug 25 05:28:25 CDT 2004

Hello Bruce,

I tried removing the Builtin registry and now it has not loaded my driver at
boot up time.
but when i run my application that needs my driver, it is not getting loaded
dynamically..?
Is there any registry setting for dynamic loading of DLLs ?

regards
sajid

"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:%23V6k3pdiEHA.140@TK2MSFTNGP12.phx.gbl...
> Try it.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>



Re: DLL load by Bruce

Bruce
Wed Aug 25 06:47:15 CDT 2004

Are you loading it as a driver? Then you need those registry settings, but
put them in a different key.

I thought that you were using LoadLibrary, but even then your driver might
be looking for a certain registry key.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: DLL load by Sajid

Sajid
Wed Aug 25 07:17:03 CDT 2004

Yes,
I did change the registry entry 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

thats is, I have removed my driver from \Builtin.

Even then I have observed that when I run my applications
my driver is not getting loaded.

how can my driver can be detected at
runtime by its upper layer ?

regards
sajid


"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:eQDGGlpiEHA.3536@TK2MSFTNGP12.phx.gbl...
> Are you loading it as a driver? Then you need those registry settings,
but
> put them in a different key.
>
> I thought that you were using LoadLibrary, but even then your driver might
> be looking for a certain registry key.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>



Re: DLL load by Bruce

Bruce
Wed Aug 25 08:34:12 CDT 2004

You will need to manually load it, there is nothing that will do it for you
once you disable the boot time loading.

ActivateDeviceEx() is what you need.

What do you mean by "its upper layer"?

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



Re: DLL load by Sajid

Sajid
Wed Aug 25 08:45:23 CDT 2004

upper layer means the driver/code that is using my driver entry points.


"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:ecRv2gqiEHA.3548@TK2MSFTNGP09.phx.gbl...
> You will need to manually load it, there is nothing that will do it for
you
> once you disable the boot time loading.
>
> ActivateDeviceEx() is what you need.
>
> What do you mean by "its upper layer"?
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups
>
>