[英]Where can I find d3dcompiler_43.dll and corresponding lib files?
I am trying to make a "hack" for a really old game. 我正在尝试为一款非常老的游戏做一个“ hack”。 My dll injector does not resolve dll import and everything work just fine except
D3DCompile
function that is causing access violation. 我的dll注入器无法解析dll导入,除了
D3DCompile
函数会导致访问冲突之外,其他一切都工作正常。 After long debugging session I figured out that it is causing this error because my code is referencing to d3dcompiler_47.dll
but game has only d3dcompiler_43.dll
in it. 经过长时间的调试会话后,我发现这是导致此错误的原因,因为我的代码引用了
d3dcompiler_47.dll
但游戏中只有d3dcompiler_43.dll
。 My question is where can I get corresponding libraries that will (after including to project) use d3dcompiler_43.dll
? 我的问题是,在哪里(包括项目之后)可以使用
d3dcompiler_43.dll
?
Only thing that I have found was a dll D3DCompiler_43.dll
which was inside Jun2010_D3DCompiler_43_x64.cab
. 只有我发现事情是一个DLL
D3DCompiler_43.dll
这是内部Jun2010_D3DCompiler_43_x64.cab
。
Where can I find the header files and lib files for this d3d compiler version? 在哪里可以找到此d3d编译器版本的头文件和lib文件?
EDIT: Found all files in Unreal Engine source code. 编辑:在虚幻引擎源代码中找到所有文件。
D3DCompiler is normally part of the windows SDK, which can be found at here . D3DCompiler通常是Windows SDK的一部分,可以在此处找到。 Note that if your game is old enough you may need to download an older version of the SDK (if it uses Direct3D 9 or earlier for example) but I can't tell you exactly how far back you would need to go.
请注意,如果您的游戏足够老,则可能需要下载较旧版本的SDK(例如,如果它使用Direct3D 9或更早版本),但我无法告诉您确切的距离。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.