Does it also return NULL when you have the video setting D3D on?
Hello!
How Counter Strike 1.6 uses d3d9.dll? In the list of import d3d9.dll is not present. And at debugging I did not see, that it was connected. But CS uses DirectX.
hD3D always returns NULL:
Code:hD3D = (DWORD)GetModuleHandle("d3d9.dll");
Does it also return NULL when you have the video setting D3D on?
Yes, certainly.
I have understood. CS 1.6 uses not d3d9.dll, but uses ddraw.dll + d3dim.dll, DirectX 7. But I do not know how to work with DirectX 7.