V
Ich habe ja VisualC++ 6.0, und ja, ich öffne einfach die Projectfiles und klicke dann auf kompilieren.Es sollte da ja eigentlich kein Problem kommen.Ich hab mal weiter geguckt, es sind immer die gleichen/ähnlichen Fehler, z.B.:
Compiling...
d3dapp.cpp
C:\DirectX\Samples\C++\common\src\d3dapp.cpp(832) : error C2065: 'ULongToHandle' : undeclared identifier
d3dsettings.cpp
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(276) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
None of the functions with this name in scope match the target type
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier
Error executing cl.exe.
Das beim Billboard-Beispiel.Hir mal das Clip-Mirror Beispiel:
--------------------Configuration: ClipMirror - Win32 Debug--------------------
Compiling resources...
Compiling...
d3dapp.cpp
C:\DirectX\Samples\C++\common\src\d3dapp.cpp(832) : error C2065: 'ULongToHandle' : undeclared identifier
d3denumeration.cpp
d3dfile.cpp
d3dfont.cpp
d3dsettings.cpp
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(276) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
None of the functions with this name in scope match the target type
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier
C:\DirectX\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier
d3dutil.cpp
dxutil.cpp
ClipMirror.cpp
Error executing cl.exe.
clipmirror.exe - 4 error(s), 0 warning(s)
Und das ist bei allen Beispielen so...immer 4 Errors...Ich glaube ich mache ausnahmsweise mal nichts falsch