Hi guys, my question is: when i debug the project 'amcap' from it's original location(C:\DXSDK\Samples\C++\DirectShow\Capture\AMCap), It is ok.
But, I copy this project to another location(for example: d:\myprojects\) and reset the include file to c:\DXSDK\Include C:\DXSDK\SAMPLES\C++\COMMON\INCLUDE C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES, library file's directory to C:\DXSDK\LIB before this i have copy strmbasd.lib and strmbase.lib to c:\dxsdk.
then debug this project, it shows 'amcap.exe - 221 error(s), 5 warning(s)'. So many errors, I faint. especially, It said 'C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES\wxutil.h(530) : error C2061: syntax error : identifier 'DWORD_PTR'' , 'C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES\ctlutil.h(437) : error C2504: 'IBasicVideo2' : base class undefined', and so forth.
hi, guys, i have resolved this problem. I'v changed order of the include files . the original order is: C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE c:\DXSDK\Include C:\DXSDK\SAMPLES\C++\COMMON\INCLUDE C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES
after changed , the new order is: c:\DXSDK\Include C:\DXSDK\SAMPLES\C++\COMMON\INCLUDE C:\DXSDK\SAMPLES\C++\DIRECTSHOW\BASECLASSES C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
It is ok, I can debug my project without any problem. But, I remember in the prior perating system, i use the original order, it is also ok to debug. Why??? thinking...
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.