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. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    100

    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"
    Error executing link.exe.
    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. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    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. #3
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Quote 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.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Platform SDK is now Windows SDK
    By VirtualAce in forum Tech Board
    Replies: 1
    Last Post: 01-06-2008, 05:19 AM
  2. Latest Platform SDK includes MFC 4.2 source code!
    By Codeplug in forum Windows Programming
    Replies: 5
    Last Post: 04-04-2006, 10:49 AM
  3. Problems with DirectX 9.0 SDK includes
    By SkyRaign in forum Game Programming
    Replies: 12
    Last Post: 12-23-2005, 08:45 AM
  4. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 06:07 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21