Device Installation API link error

I’m using Device Installation API in a service program. However, I got the
following link error:

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiGetClassDevsExW@28

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiClassGuidsFromNameExW@24

Release/Client.exe : fatal error LNK1120: 2 unresolved externals

Error executing link.exe.

I’ve added the include path and lib path. Can anyone help? Thanks!

Yiping Han wrote:

I’m using Device Installation API in a service program. However, I got
the following link error:

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiGetClassDevsExW@28

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiClassGuidsFromNameExW@24

Release/Client.exe : fatal error LNK1120: 2 unresolved externals

Error executing link.exe.

I’ve added the include path and lib path. Can anyone help? Thanks!

Those entry points are in setupapi.lib. Did you add that to the library
list?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Yes. setupapi.lib is already in the lib path.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 1:27 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

I’m using Device Installation API in a service program. However, I got
the following link error:

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiGetClassDevsExW@28

Client.obj : error LNK2001: unresolved external symbol
__imp__SetupDiClassGuidsFromNameExW@24

Release/Client.exe : fatal error LNK1120: 2 unresolved externals

Error executing link.exe.

I’ve added the include path and lib path. Can anyone help? Thanks!

Those entry points are in setupapi.lib. Did you add that to the library
list?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yiping Han wrote:

Yes. setupapi.lib is already in the lib path.

For both the debug build and the release build? It’s awfully easy to
add the library to the debug build, then switch to release and forget to
update that library list as well.

What are you using to build your service? Visual C++ 6.0? Have you
downloaded a more recent platform SDK? SetupDiGetClassDevsExW, in
particular, changed between VC6 and VC7. It used to have six parameters
(@24), but it now has seven (@28). If you build with a new include file
but the old library, it won’t find the entry point.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

The path is correct set. I’m using VC6.0 and with DDK 3970. From the error
message yes it is (@28). And in my code I’m using 7 parameters. Is that a
problem with VC6.0?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 2:15 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

Yes. setupapi.lib is already in the lib path.

For both the debug build and the release build? It’s awfully easy to
add the library to the debug build, then switch to release and forget to
update that library list as well.

What are you using to build your service? Visual C++ 6.0? Have you
downloaded a more recent platform SDK? SetupDiGetClassDevsExW, in
particular, changed between VC6 and VC7. It used to have six parameters
(@24), but it now has seven (@28). If you build with a new include file
but the old library, it won’t find the entry point.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yiping Han wrote:

The path is correct set. I’m using VC6.0 and with DDK 3970.

What part of the DDK are you using? Are you getting the include files
from there? If so, that’s the problem.

From the error
message yes it is (@28). And in my code I’m using 7 parameters. Is that a
problem with VC6.0?

It’s a problem with using an 8-year-old compiler and its libraries. If
you are using the DDK’s include files, then you might as well use the
DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
do it.

If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
Visual Studio setupapi.lib.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Technically you should be using the 3790.1830 DDK.

Gary G. Little

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Friday, April 14, 2006 1:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Device Installation API link error

The path is correct set. I’m using VC6.0 and with DDK 3970. From the error
message yes it is (@28). And in my code I’m using 7 parameters. Is that a
problem with VC6.0?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 2:15 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

Yes. setupapi.lib is already in the lib path.

For both the debug build and the release build? It’s awfully easy to
add the library to the debug build, then switch to release and forget to
update that library list as well.

What are you using to build your service? Visual C++ 6.0? Have you
downloaded a more recent platform SDK? SetupDiGetClassDevsExW, in
particular, changed between VC6 and VC7. It used to have six parameters
(@24), but it now has seven (@28). If you build with a new include file
but the old library, it won’t find the entry point.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Link to setupapi.lib

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Yiping Han”
To: “Windows System Software Devs Interest List”
Sent: Friday, April 14, 2006 8:02 PM
Subject: [ntdev] Device Installation API link error

> I’m using Device Installation API in a service program. However, I got the
> following link error:
>
>
>
> Client.obj : error LNK2001: unresolved external symbol
> imp SetupDiGetClassDevsExW@28
>
> Client.obj : error LNK2001: unresolved external symbol
> imp SetupDiClassGuidsFromNameExW@24
>
> Release/Client.exe : fatal error LNK1120: 2 unresolved externals
>
> Error executing link.exe.
>
>
>
>
>
> I’ve added the include path and lib path. Can anyone help? Thanks!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

VERY thanks! I got it by replacing the VC6 setupapi.lib & setupapi.h with
the DDK copy.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 2:57 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

The path is correct set. I’m using VC6.0 and with DDK 3970.

What part of the DDK are you using? Are you getting the include files
from there? If so, that’s the problem.

From the error
message yes it is (@28). And in my code I’m using 7 parameters. Is that a
problem with VC6.0?

It’s a problem with using an 8-year-old compiler and its libraries. If
you are using the DDK’s include files, then you might as well use the
DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
do it.

If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
Visual Studio setupapi.lib.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yeah. That’s really a problem for us. 3790.1830 has some bugs and cannot
work properly with our program. This has been confirmed by Microsoft. So, we
are not sticking on 3790 :frowning:

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@seagate.com
Sent: Friday, April 14, 2006 2:49 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Device Installation API link error

Technically you should be using the 3790.1830 DDK.

Gary G. Little

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Friday, April 14, 2006 1:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Device Installation API link error

The path is correct set. I’m using VC6.0 and with DDK 3970. From the error
message yes it is (@28). And in my code I’m using 7 parameters. Is that a
problem with VC6.0?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 2:15 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

Yes. setupapi.lib is already in the lib path.

For both the debug build and the release build? It’s awfully easy to
add the library to the debug build, then switch to release and forget to
update that library list as well.

What are you using to build your service? Visual C++ 6.0? Have you
downloaded a more recent platform SDK? SetupDiGetClassDevsExW, in
particular, changed between VC6 and VC7. It used to have six parameters
(@24), but it now has seven (@28). If you build with a new include file
but the old library, it won’t find the entry point.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I would consider to build the project using the DDK build env instead of
VC6. Most user-mode projects are built fine using it.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Yiping Han”
To: “Windows System Software Devs Interest List”
Sent: Friday, April 14, 2006 11:11 PM
Subject: RE: [ntdev] Device Installation API link error

> VERY thanks! I got it by replacing the VC6 setupapi.lib & setupapi.h with
> the DDK copy.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
> Sent: Friday, April 14, 2006 2:57 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Device Installation API link error
>
> Yiping Han wrote:
>
> >The path is correct set. I’m using VC6.0 and with DDK 3970.
> >
>
> What part of the DDK are you using? Are you getting the include files
> from there? If so, that’s the problem.
>
> >From the error
> >message yes it is (@28). And in my code I’m using 7 parameters. Is that a
> >problem with VC6.0?
> >
> >
>
> It’s a problem with using an 8-year-old compiler and its libraries. If
> you are using the DDK’s include files, then you might as well use the
> DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
> do it.
>
> If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
> your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
> Visual Studio setupapi.lib.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yiping Han wrote:

Yeah. That’s really a problem for us. 3790.1830 has some bugs and cannot
work properly with our program. This has been confirmed by Microsoft.

I find that very surprising. Can you share the details?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

I know you must ask for this;-) It’s not me who was dealing with this, but
I’ll find out the details on Monday and share the info with you.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 4:13 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

Yiping Han wrote:

Yeah. That’s really a problem for us. 3790.1830 has some bugs and cannot
work properly with our program. This has been confirmed by Microsoft.

I find that very surprising. Can you share the details?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

This is an existing VC6 project and I’m just adding a function to it. So,
how can I build it under DDK environment? I exported the make file and then
what’s the command line to call it?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, April 14, 2006 3:32 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

I would consider to build the project using the DDK build env instead of
VC6. Most user-mode projects are built fine using it.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Yiping Han”
To: “Windows System Software Devs Interest List”
Sent: Friday, April 14, 2006 11:11 PM
Subject: RE: [ntdev] Device Installation API link error

> VERY thanks! I got it by replacing the VC6 setupapi.lib & setupapi.h with
> the DDK copy.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
> Sent: Friday, April 14, 2006 2:57 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Device Installation API link error
>
> Yiping Han wrote:
>
> >The path is correct set. I’m using VC6.0 and with DDK 3970.
> >
>
> What part of the DDK are you using? Are you getting the include files
> from there? If so, that’s the problem.
>
> >From the error
> >message yes it is (@28). And in my code I’m using 7 parameters. Is that a
> >problem with VC6.0?
> >
> >
>
> It’s a problem with using an 8-year-old compiler and its libraries. If
> you are using the DDK’s include files, then you might as well use the
> DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
> do it.
>
> If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
> your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
> Visual Studio setupapi.lib.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

You should write the SOURCES file from scratch to use DDK build env for
building the project. It can even co-exist with the MSVC’s project files, so,
the project will be buildable from both envs.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Yiping Han”
To: “Windows System Software Devs Interest List”
Sent: Saturday, April 15, 2006 12:23 AM
Subject: RE: [ntdev] Device Installation API link error

> This is an existing VC6 project and I’m just adding a function to it. So,
> how can I build it under DDK environment? I exported the make file and then
> what’s the command line to call it?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
> Sent: Friday, April 14, 2006 3:32 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Device Installation API link error
>
> I would consider to build the project using the DDK build env instead of
> VC6. Most user-mode projects are built fine using it.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yiping Han”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, April 14, 2006 11:11 PM
> Subject: RE: [ntdev] Device Installation API link error
>
>
> > VERY thanks! I got it by replacing the VC6 setupapi.lib & setupapi.h with
> > the DDK copy.
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
> > Sent: Friday, April 14, 2006 2:57 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re: [ntdev] Device Installation API link error
> >
> > Yiping Han wrote:
> >
> > >The path is correct set. I’m using VC6.0 and with DDK 3970.
> > >
> >
> > What part of the DDK are you using? Are you getting the include files
> > from there? If so, that’s the problem.
> >
> > >From the error
> > >message yes it is (@28). And in my code I’m using 7 parameters. Is that a
> > >problem with VC6.0?
> > >
> > >
> >
> > It’s a problem with using an 8-year-old compiler and its libraries. If
> > you are using the DDK’s include files, then you might as well use the
> > DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
> > do it.
> >
> > If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
> > your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
> > Visual Studio setupapi.lib.
> >
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> > http://www.osronline.com/page.cfm?name=ListServer
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

> So, how can I build it under DDK environment?
You may want to check out

http://www.hollistech.com/Resources/ddkbuild/ddkbuild.htm

for detailed instructions.

In case you are interested, building drivers using “user-mode”
compilers, the ones that come with VC6, 7, 7.1 or 8, is not
recommended. The DDK contains its own cl.exe, link.exe,
rc.exe etc.

Another version of this tool, a command script that allows to “embed”
DDK build into a Visual Studio project/workspace/solution, is available
at OSR web site (where else, right?) at

http://www.osronline.com/article.cfm?article=43

Both of these tools work fine for a lot of people (and they all
are kind of in doubt that your build failures are due to bugs in
the current DDK.)

Hope it helps.

----- Original Message -----
From: “Yiping Han”
To: “Windows System Software Devs Interest List”
Sent: Friday, April 14, 2006 4:23 PM
Subject: RE: [ntdev] Device Installation API link error

> This is an existing VC6 project and I’m just adding a function to it. So,
> how can I build it under DDK environment? I exported the make file and
> then
> what’s the command line to call it?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
> Sent: Friday, April 14, 2006 3:32 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] Device Installation API link error
>
> I would consider to build the project using the DDK build env instead
> of
> VC6. Most user-mode projects are built fine using it.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yiping Han”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, April 14, 2006 11:11 PM
> Subject: RE: [ntdev] Device Installation API link error
>
>
>> VERY thanks! I got it by replacing the VC6 setupapi.lib & setupapi.h with
>> the DDK copy.
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
>> Sent: Friday, April 14, 2006 2:57 PM
>> To: Windows System Software Devs Interest List
>> Subject: Re: [ntdev] Device Installation API link error
>>
>> Yiping Han wrote:
>>
>> >The path is correct set. I’m using VC6.0 and with DDK 3970.
>> >
>>
>> What part of the DDK are you using? Are you getting the include files
>> from there? If so, that’s the problem.
>>
>> >From the error
>> >message yes it is (@28). And in my code I’m using 7 parameters. Is that
>> >a
>> >problem with VC6.0?
>> >
>> >
>>
>> It’s a problem with using an 8-year-old compiler and its libraries. If
>> you are using the DDK’s include files, then you might as well use the
>> DDK’s libraries as well. 3790\lib\wxp\i386 and 3790\lib\crt\i386 should
>> do it.
>>
>> If you must use the VC6 libraries, you’ll have to copy setupapi.lib from
>> your DDK (3790.1830\lib\wxp\i386\setupapi.lib) over the top of your
>> Visual Studio setupapi.lib.
>>
>> –
>> Tim Roberts, xxxxx@probo.com
>> Providenza & Boekelheide, Inc.
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>>
>> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

sh_alex wrote:

In case you are interested, building drivers using “user-mode”
compilers, the ones that come with VC6, 7, 7.1 or 8, is not
recommended. The DDK contains its own cl.exe, link.exe,
rc.exe etc.

Yes, but the original poster was only trying to build a user-mode
service using the SetupDi APIs. The DDK is involved only to the extent
of setupapi.h and setupapi.lib.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Yes. But that is very helpful information for my following works. Thanks to
both of you.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Friday, April 14, 2006 6:23 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Device Installation API link error

sh_alex wrote:

In case you are interested, building drivers using “user-mode”
compilers, the ones that come with VC6, 7, 7.1 or 8, is not
recommended. The DDK contains its own cl.exe, link.exe,
rc.exe etc.

Yes, but the original poster was only trying to build a user-mode
service using the SetupDi APIs. The DDK is involved only to the extent
of setupapi.h and setupapi.lib.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer