Click to See Complete Forum and Search --> : config VC 6.0 in order to use directShow
anwar.he
May 16th, 2006, 01:49 AM
Hi,
I have downed DirectX 9.0 from Microsoft net web. I have add the lib and header file in VC 6.0 .
but wen i compile amcap(DriectShow example),i always failed to compile the file.i hope that anboby who know how to confing vc 6.0 to use directshow can show me the way.
thanks in advance!
Ejaz
May 16th, 2006, 04:41 AM
What error do you get?
anwar.he
May 16th, 2006, 05:24 AM
----Configuration: BaseClasses - Win32 Debug--------------------
Compiling...
dllentry.cpp
D:\DXSDK\INCLUDE\strmif.h(1022) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
D:\DXSDK\INCLUDE\strmif.h(1022) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
strmbasd.lib - 2 error(s), 0 warning(s)
in order to compile BaseClasses lib
Ejaz
May 16th, 2006, 05:41 AM
I don't have DX SDK with me, but plz go through the readme and other docs of the SDK to see that, does it supports VC 6.0, coz I doubt that it doesn't. Moreover, make sure that you have latest platform SDK installed at ur machine.
nolxev
May 16th, 2006, 08:26 AM
If you're creating a MFC application make sure that you do not forget some "stdafx.h".
anwar.he
May 16th, 2006, 09:32 PM
thx,
can you tell me the way to get latest platform sdk.
anwar.he
May 17th, 2006, 01:42 AM
I have got the platform SDK .but i cann't install.
i cann't understand the wrong.
i felt so tired.
Ejaz
May 17th, 2006, 06:11 AM
Well, Visual C++ 6.0 is no longer supported by the DirectX SDK. You should upgrade to VS .Net 2003 (or higher). For upgrading platform SDK, plz go through this (http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en) and read the instructions for installation.
anwar.he
May 18th, 2006, 03:45 AM
Thx,
I have updated the platform SDK.
that all ok!
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.