# Problems upgrading to latest Platford SDK

This is a discussion on Problems upgrading to latest Platford SDK within the Windows Programming forums, part of the Platform Specific Boards category; Hi all, I want to use a new fuction called GetProcessIoCouters which is apart of windows.h and declared in winbase.h. ...

1. ## Problems upgrading to latest Platford SDK

Hi all,

I want to use a new fuction called GetProcessIoCouters which is apart of windows.h and declared in winbase.h. Problem is is that I had to update to the latest PSDK (i believe it was win2000 server sdk or something like that). When i updated to the new SDK which was installed in c:\Program Files\Microsoft Platform SDK\ I copied both the Include and Lib file to my c:\Program Files\Microsoft Visual Studio 6\VC98

When i tried to compile i got the following error:

LINK : fatal error LNK1104: cannot open file "LIBCMTD.lib"
Any Idea how to fix this?

Thanks.

BTW, it might be helpful for you to know that im on WINXP SP2, with an x86 arch. Thanks

2. There error is pretty self explanitory. The file libcmtd.lib which you are trying to link to is not in your library path. Go to Tools->Options->Directorys. Select "Library Files" from the combo box, and then add the directory that libcmtd.lib is in.

3. Originally Posted by cloudy
When i updated to the new SDK which was installed in c:\Program Files\Microsoft Platform SDK\ I copied both the Include and Lib file to my c:\Program Files\Microsoft Visual Studio 6\VC98

When i tried to compile i got the following error:

You should never copy headers from the sdk directory to the default directorys, instead you should of added a path to the \include and \lib directorys of the SDK installation and move them up the list to before the default installation paths.