From: Carl Woodward on
> Thanks for the advice.. I'm not sure how to do that properly but have
> been trying :)

I'm sure you have done this by now, but...

Right click on the project in Solution Explorer, select "Properties" at the
bottom and up comes the project property pages.

Expand the "Linker" tree view item and select "Input". In the additional
inputs field, add the lib name, in your case setupapi.lib.

Note that you would have to do this for each Configuration and Platform, so
add the lib for Debug and Release in Win32 for example.

Hope that helps,

Carly