je suis arrivé ces erreurs lors de la mise à niveau de cette https://github.com/LestaD/SourceEngine2007 de VB2005
, et je ne peux pas sembler résoudre le problème ... Les erreurs sont causées par les dépendances qui ont été inclus plus tardCHUNKSTATE et STAT_CHUNK ne sont pas définies
Liste d'erreurs :
Error C2061 syntax error: identifier 'STAT_CHUNK'
Error C3646 'GetChunkType': unknown override specifier
Error C2061 syntax error: identifier 'CHUNKSTATE'
Ce sont les fichiers:
.. \ Microsoft Visual studio \ 2017 \ Communauté \ VC \ Tools \ MSVC \ 14.11.25503 \ atlmfc \ include \ atlhandler.h
.. \ Microsoft Visual Studio \ 2017 \ Communauté \ VC \ Tools \ MSVC \ 14.11.25503 \ atlmfc \ include \ AFXWIN.H
Propriétés générales:
Target Platform: Windows 10
Windows SDK Version: 10.0.14393.0
Platform Toolset: Visual Studio 2017 (v141)
Configuration Type: Dynamic Library (.dll)
Use of MFC: Use MFC in a Shared DLL
Character Set: Use Multi-Byte Character Set
Common Language Runtime Support: Common Language Runtime Support (/clr)
.NET Target Framework Version:
Répertoires VC++:
Executable Directories: $(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(MSBuild_ExecutablePath);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);
Include Directories: C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;$(IncludePath)
Reference Directories: $(VC_ReferencesPath_x86);
Library Directories: C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;$(LibraryPath)
Library WinRT Directories: $(WindowsSDK_MetadataPath);
Source Directories: $(VC_SourcePath);
Exclude Directories: $(VC_IncludePath);$(WindowsSDK_IncludePath);$(MSBuild_ExecutablePath);$(VC_LibraryPath_x86);
reste des propriétés aspect standard
S'il vous plaît créer un [mcve] –