Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help for Platform SDK

Help for Platform SDK

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiohelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rat crown
    wrote on last edited by
    #1

    I have tried Platform SDk, I download the SDK from MS-Website, and installed it. But i found the Platform SDK seem not well! My question are: 1) Some Windows DataType are not declared! for examples: DWORD_PTR, PDWORD_PTR, ULONGLONG... I check the SDK Document, Say these data type declared in BaseTsd.h! But I opened headfile, I did not found these data type declare. Whats wrong? 2) After install Platform SDK, int the c:\C:\Program Files\Microsoft Platform SDK\ folder, there are many head file'name and system files'name are same as in the folder : C:\Program Files\Microsoft Visual Studio\VC98 So which file I will be useing in my projects? And how do I use the different fiels?

    B 1 Reply Last reply
    0
    • R rat crown

      I have tried Platform SDk, I download the SDK from MS-Website, and installed it. But i found the Platform SDK seem not well! My question are: 1) Some Windows DataType are not declared! for examples: DWORD_PTR, PDWORD_PTR, ULONGLONG... I check the SDK Document, Say these data type declared in BaseTsd.h! But I opened headfile, I did not found these data type declare. Whats wrong? 2) After install Platform SDK, int the c:\C:\Program Files\Microsoft Platform SDK\ folder, there are many head file'name and system files'name are same as in the folder : C:\Program Files\Microsoft Visual Studio\VC98 So which file I will be useing in my projects? And how do I use the different fiels?

      B Offline
      B Offline
      Blake Miller
      wrote on last edited by
      #2

      You can configure the Visual Studio default directories to search the newer platform SDK header files and libraries. The ones shippd with Visual Studio are just 'older' versions of many of these same files. See Tools|Options|Directories... menu item in Visual Studio 6.0 IDE to make changes. Make it search the Platform SDK folders ahead of the older ones that came with VS 6.0.

      R 1 Reply Last reply
      0
      • B Blake Miller

        You can configure the Visual Studio default directories to search the newer platform SDK header files and libraries. The ones shippd with Visual Studio are just 'older' versions of many of these same files. See Tools|Options|Directories... menu item in Visual Studio 6.0 IDE to make changes. Make it search the Platform SDK folders ahead of the older ones that came with VS 6.0.

        R Offline
        R Offline
        rat crown
        wrote on last edited by
        #3

        (1) Some Windows DataType are not declared! for examples: DWORD_PTR, PDWORD_PTR, ULONGLONG... I check the SDK Document, Say these data type declared in BaseTsd.h! But I opened headfile, I did not found these data type declare. Whats wrong? Thanks!

        B 1 Reply Last reply
        0
        • R rat crown

          (1) Some Windows DataType are not declared! for examples: DWORD_PTR, PDWORD_PTR, ULONGLONG... I check the SDK Document, Say these data type declared in BaseTsd.h! But I opened headfile, I did not found these data type declare. Whats wrong? Thanks!

          B Offline
          B Offline
          Blake Miller
          wrote on last edited by
          #4

          Rule #1 - Don't beleive everything you read in MSDN. Rule #2 - See Rule #1 I found them defined in a myriad of files. DWORD_PTR and PDWORD_PTR were defined in GCHOST.H and BaseTsd.h ULONGLONG was defined in PROGRAM FILES\MICROSOFT VISUAL STUDIO .NET 2003\SDK\v1.1\Tool Developers Guide\Samples\smc\Win32.h(38):typedef unsigned __int64 ULONGLONG; and PROGRAM FILES\MICROSOFT VISUAL STUDIO .NET 2003\Vc7\PlatformSDK\Include\WTypes.h(398):typedef unsigned __int64 ULONGLONG; and PROGRAM FILES\MICROSOFT VISUAL STUDIO .NET 2003\Vc7\PlatformSDK\Include\WinNT.h(446):typedef unsigned __int64 ULONGLONG;

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups