Tutorial for spookie's SCM hook (C++)
Posted 05 February 2010 - 11:22 AM Edited by grovespaz, 05 February 2010 - 05:00 PM.
|QUOTE (xanser @ Sep 19 2007, 13:57)|
| I download MS VC++ 6.0 and DirectX 8.1 SDK|
What is wrong?
...it's seems the suggestion was in the begining of this topic, sorry...
Oh, I do remember how to fix this
Strange thing is, some people need to fix this, for other people it works just fine
Open your speedo source, the file 'IDirect3DDeviceHook.cpp'
Look for the line with 'SetCursorProperties' in it
Replace it with this:
|HRESULT __stdcall IDirect3DDevice8Hook::SetCursorProperties(UINT XHotSpot, UINT YHotSpot, IDirect3DSurface8* pCursorBitmap)|
(Note, Only thing changed is int to Uint)
Then, in 'IDirect3DDeviceHook.h'
Again, look for the line which contains SetCursorProperties, and replace with:"
|STDMETHOD(SetCursorProperties)(THIS_ UINT XHotSpot,UINT YHotSpot,IDirect3DSurface8* pCursorBitmap);|
If I recall all information correctly, that should fix it
Posted 22 June 2011 - 08:41 AM
What should I do?
Posted 23 June 2011 - 05:06 AM
But by the beginning of the project does not compile? When I removed the void setcursor, it started to compile, but when I run GTA-VC, it was a mistake! I compiled in visual c + + 2010 ultimat, What's wrong?
Posted 04 January 2014 - 03:09 PM Edited by HackMan128, 05 January 2014 - 07:04 PM.
First of all, where i can download dx 8.0 SDK? I don't think Directx 8.1 would work if I'm still getting some errors when launching game.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users