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