Linking to shlwapi.lib in C, MSVC CMD.
Hi, I have a C code that uses some of the exports of shlwapi.dll and I'm trying to compile it using Visual Studio 2008 and the Vista SDK.
The problem is that when I compile it as C code I can't link to shlwapi.lib. I get the following error:
The command line to that is: cl /O1 /TC inicontrol.c shlwapi.lib
c1 : fatal error C1083: Cannot open source file: 'shlwapi.lib': No such file or directory
Anyone knows if it's possible to compile it as C code and link to that library?
Thanks in advance.
P.S.: Linking as C++ code works well. Pointing to shlwapi.lib directly outputs loads of errors.