Re: [Mingw-users] Newdevlib missing ??

On Thursday 29 April 2004 07:40 am, kiran.bacche@... wrote:
> I could successfully compile the code containing the API
> UpdateDriverForPlugAndPlayDevices.
>
> But linking failed. I did a 'nm' on all library files but could not find
> where the symbol UpdateDriverForPlugAndPlayDevices was defined.
>
> The MSDN reference says "Declared in newdev.h. Include newdev.h. Link to
> newdev.lib. " But there is no newdev library in mingw\lib directory.
Probably that import library is missing. You could simply link to the
relevant .dll itself (just put it on the linker command line). If there's a
newdev.dll, link to it, if not look at newdev.lib from Platfrom SDK and find
what .dll does it reference.
Cheers, Kuba Ober

Thread view

I could successfully compile the code containing the API =
UpdateDriverForPlugAndPlayDevices.
But linking failed. I did a 'nm' on all library files but could not find =
where the symbol
UpdateDriverForPlugAndPlayDevices was defined.
The MSDN reference says "Declared in newdev.h. Include newdev.h. Link to =
newdev.lib. "
But there is no newdev library in mingw\lib directory.
Can anyone please help
Thanx
Kiran
-----Original Message-----
From: Kiran Bacche=20
Sent: Wednesday, April 28, 2004 8:15 PM
To: 'mingw-users@...'
Subject: RE: [Mingw-users] Is InstallRootEnumeratedDriver API supported
Yes, that's right.
Actually the function I was looking for was =
UpdateDriverForPlugAndPlayDevices.
And it is defined in mingw/include/ddk/newdev.h
Thanx for the clarification, and sorry for the confusion.
Cheers
Kiran
-----Original Message-----
From: mingw-users-admin@... =
[mailto:mingw-users-admin@...] On Behalf Of Luke =
Dunstan
Sent: Wednesday, April 28, 2004 7:22 PM
To: mingw-users@...
Subject: Re: [Mingw-users] Is InstallRootEnumeratedDriver API supported
I can only find one MS reference to this function:
http://support.microsoft.com/default.aspx?scid=3Dkb;EN-US;Q304294
This function is not an API or part or Windows; it's just a function =
defined
in the sample source code of the above KB article.
Luke
----- Original Message -----=20
From: <kiran.bacche@...>
To: <mingw-users@...>
Sent: Wednesday, April 28, 2004 7:00 PM
Subject: [Mingw-users] Is InstallRootEnumeratedDriver API supported
By MinGW. This is requirde for writing setup tool to install a device
driver programatically.
Many Thanx
Kiran
-----Original Message-----
From: mingw-users-admin@...
[mailto:mingw-users-admin@...] On Behalf Of Earnie
Boyd
Sent: Wednesday, April 28, 2004 4:06 PM
To: mingw-users@...
Subject: Re: [Mingw-users] VPATH
Luke Dunstan wrote:
>
>> From: Richard Gipps <rgipps@...>
>> Reply-To: mingw-users@...
>> To: mingw-users@...
>> Subject: [Mingw-users] VPATH
>> Date: Tue, 27 Apr 2004 19:01:59 +0100
>>
>> I have been trying to use VPATH in a makefile but I keep getting the
>> following error:
>>
>> gcc: PrototypeValuesClass.c: No such file or directory
>>
>> here is the relevant portion of the make file...
>> ********** SNIP ************************
>> VPATH=3DD:\User\Lang\filter_work\Lib
>>
>> .......
>>
>> # Source files
>> SRCS =3DPrototypeValuesClass.c \
>> "D:\User\Lang\filter_work\Lib\TransferFunctionsClass.c" \
>> "D:\User\Lang\filter_work\Lib\CadClass.c" \
>> "D:\User\Lang\filter_work\Lib\CadLib.c" \
>> ********** SNIP ************************
>>
>> I have also left in some lines which do not use VPATH and work fine.
>> Any ideas??
>>
>> Richard.
>
>
> Are you using MSYS make or mingw32-make or Cygwin make or ...? What
> version? If it is MSYS or Cygwin make then it probably uses a colon to
> separate multiple paths in VPATH so you'd have to use the appropriate
> syntax for drive letter paths. You could also use relative paths, but
> in any case you should use forward slashes instead of backslashes.
IIRC, the colon is a problem for mingw32-make. The problem has been
discussed on the make-w32@... list. Your alternative is to use MSYS
and POSIX style paths, i.e.: use / instead of \.
Earnie
--=20
http://www.mingw.orghttp://sourceforge.net/projects/mingwhttps://sourceforge.net/donate/index.php?user_id=3D15438
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick
_______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id=8166&op=3Dick
_______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. =
Take an Oracle 10g class now, and we'll give you the exam FREE.=20
http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick
_______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

On Thursday 29 April 2004 07:40 am, kiran.bacche@... wrote:
> I could successfully compile the code containing the API
> UpdateDriverForPlugAndPlayDevices.
>
> But linking failed. I did a 'nm' on all library files but could not find
> where the symbol UpdateDriverForPlugAndPlayDevices was defined.
>
> The MSDN reference says "Declared in newdev.h. Include newdev.h. Link to
> newdev.lib. " But there is no newdev library in mingw\lib directory.
Probably that import library is missing. You could simply link to the
relevant .dll itself (just put it on the linker command line). If there's a
newdev.dll, link to it, if not look at newdev.lib from Platfrom SDK and find
what .dll does it reference.
Cheers, Kuba Ober

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

CountryState

JavaScript is required for this form.

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details