fixdx.txt

来自「对于DirectShow中」· 文本 代码 · 共 49 行

TXT
49
字号
Here are the specific fixes that I made. Warning: I have not thoroughly tested these, and I only tried them under the "Windows XP 32-bit Debug" environment in Platform SDK. You should use your own judgment before making any of these fixes.

BaseClasses\ctlutil.h (278)  
    (LONG) operator=(LONG); 
BaseClasses\wxdebug.cpp (564)
    static DWORD g_dwLastRefresh = 0; 
BaseClasses\winutil.cpp (2092)
   UINT Count;
   for (Count = 0;Count < Result;Count++) { 
 BaseClasses\outputq.cpp (635)
   long iDone = 0;
   for (iDone = 0; 
Capture\AmCap\amcap.cpp (691)
    for(int i = 0; i < NUMELMS(gcap.rgpmAudioMenu); i++) 
Capture\AmCap\amcap (2795)
    for(int i = 0; i < NUMELMS(gcap.rgpmAudioMenu); i++) 
DMODemo\dsutil.cpp (686)
    DWORD i = 0;
    for( i=0; i<m_dwNumBuffers; i++ ) 
dmoimpl.h (622)   [In the Platform SDK headers]
    for (DWORD dw = 0; dw < NUMBEROFOUTPUTS; dw++) { 
DMO\GargleDMO\MedParamBase\param.cpp (91)
    for (DWORD dwIndex = 0; dwIndex < cParams; dwIndex++) 
DMO\GargleDMO\MedParamBase\param.cpp (309)
    CCurveItem *pCurve = NULL;
    for (pCurve = pCurveHead; 
DMO\GargleDMO\gargle.cpp (145)
    for (DWORD i = 0; i < cOutputStreams && SUCCEEDED(hr); ++i) 
Filters\Dump\dump.cpp (426)
    for (int Loop = 0;Loop < (DataLength % BYTES_PER_LINE);Loop++) 
Filters\Gargle\gargle.cpp (212)
    static int m_nInstanceCount; // total instances 
Filters\RGBFilters\RateSource\ratestream.cpp (382)
    for( int y = 0 ; y < DEFAULT_HEIGHT ; y++ ) 
Filters\RGBFilters\RateSource\ratestream.cpp (387)
    for( int y = 0 ; y < DEFAULT_WIDTH ; y++ ) 
VMR\VMRXclBasic and VMR\Ticker: LNK1181: cannot open input file 'dxguid.lib'. This was an error in the makefile. Change to read:
    DXLIB="$(DXSDK_DIR)\Lib\x86"  (currently says "x32") 
VMR\VMRXcl and VMR\VMRMulti: C1083: Cannot open include file: 'd3dxmath.h': No such file or directory. This is an old DX header that is no longer included in DX or in Visual Studio. Unfortunately the only fix is to download an older version of the DirectX SDK. 
VMR9\MultiVMR9\GamePlayer\character.cpp (383)
    DWORD i = 0;
    for (i = 0; i < pMeshContainer->NumInfl; ++i) 
VMR9\MultiVMR9\DLL\MixerControl.h (28)
    static const DWORD MultiVMR9Mixer_DefaultFVF = D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1; 
VMR9\VMR9Allocator: error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (etc).  Add this to the makefile:
    LINK32_LIBS = \
    comsuppw.lib \
    shell32.lib \ 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?