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. How integrate Microsoft Platform SDK with Visual Studio 6.0 [modified]

How integrate Microsoft Platform SDK with Visual Studio 6.0 [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studiosysadmin
3 Posts 2 Posters 2 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.
  • S Offline
    S Offline
    Schehaider_Aymen
    wrote on last edited by
    #1

    Hi All, As u can deduce from the title, I'm using visual Studio 6.0 and i want use the Microsoft Platform SDK for some kind of project. The main idea is that i'm new to the SDK, i download the Microsoft Platform SDK Server 2003 R2 (which is the compatible one for VS6). I download some code from this site and when i tried to compile it, it said thjat some files were missing, such DShow.h, so i added the includes files by tools->options->directories->includes files. now when i compile my project i've got those errors : X|

    --------------------Configuration: LiveVideo - Win32 Debug--------------------
    Compiling...
    CaptureVideo.cpp
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2143: syntax error : missing ';' before '*'
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'm_pCapture' : missing storage-class or type specifiers
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2143: syntax error : missing ';' before '*'
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
    c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'm_pCaptureMoniker' : missing storage-class or type specifiers
    C:\Documents and Settings\FST-Admin\Bureau\Prj 3 VC 6.0\Source code\CaptureVideo.cpp(33) : error C2065: 'm_pCapture' : undeclared identifier
    ...................................................................................................
    Generating Code...
    Error executing cl.exe.

    I'm not sure if what i did was right or a big mistake, or the Microsoft Platform SDK still not recognised into my VS6.0. So plz, some help will be appreciated. :doh:

    "The Ultimate Limit Is Only Your Imagination."

    modified on Wednesday, December 8, 2010 4:21 PM

    C 1 Reply Last reply
    0
    • S Schehaider_Aymen

      Hi All, As u can deduce from the title, I'm using visual Studio 6.0 and i want use the Microsoft Platform SDK for some kind of project. The main idea is that i'm new to the SDK, i download the Microsoft Platform SDK Server 2003 R2 (which is the compatible one for VS6). I download some code from this site and when i tried to compile it, it said thjat some files were missing, such DShow.h, so i added the includes files by tools->options->directories->includes files. now when i compile my project i've got those errors : X|

      --------------------Configuration: LiveVideo - Win32 Debug--------------------
      Compiling...
      CaptureVideo.cpp
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2143: syntax error : missing ';' before '*'
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'm_pCapture' : missing storage-class or type specifiers
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2143: syntax error : missing ';' before '*'
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
      c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'm_pCaptureMoniker' : missing storage-class or type specifiers
      C:\Documents and Settings\FST-Admin\Bureau\Prj 3 VC 6.0\Source code\CaptureVideo.cpp(33) : error C2065: 'm_pCapture' : undeclared identifier
      ...................................................................................................
      Generating Code...
      Error executing cl.exe.

      I'm not sure if what i did was right or a big mistake, or the Microsoft Platform SDK still not recognised into my VS6.0. So plz, some help will be appreciated. :doh:

      "The Ultimate Limit Is Only Your Imagination."

      modified on Wednesday, December 8, 2010 4:21 PM

      C Offline
      C Offline
      Cool_Dev
      wrote on last edited by
      #2

      DShow.h is in DirectShow library, and I think DirectShow is not a part of Windows SDK - 2003. Check for such a file in your SDK installed directory. I think you need to install DirectX 9.0 SDK, of which Directshow is a part, and add its include & lib paths to VS 6.0. DirectShow now comes with vista SDK and later.

      S 1 Reply Last reply
      0
      • C Cool_Dev

        DShow.h is in DirectShow library, and I think DirectShow is not a part of Windows SDK - 2003. Check for such a file in your SDK installed directory. I think you need to install DirectX 9.0 SDK, of which Directshow is a part, and add its include & lib paths to VS 6.0. DirectShow now comes with vista SDK and later.

        S Offline
        S Offline
        Schehaider_Aymen
        wrote on last edited by
        #3

        Hi, Yes indeed,, in fact i installed Direct X developper + SDK 2003 and SDK 2008. But when i use VS 6.0 it doesnt work but with VS 2005 it does. i think that the SDK 2003 doesnt includes all necessary files or the project i tried to compile is based on headers of not 2003. Any way, Thank you for your reply that was a nice hand help.

        "The Ultimate Limit Is Only Your Imagination."

        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