Explicitly call DrawTextA instead of the DrawText macro, or change the character set of your project to "multi-byte"
Hi guys , in the last days I read a lot about hooking and how to create a DirectX-overlay.
With the help of many tutorials I managed to create a injectable DLL.
Now I want to Print some text before the EndScene. I also did this with rectangles and it worked.
My problem is that all tutorials I found didn't work at all , or i guess im to stupid
Ok I used this tut from MPGH
But always get this Error in Visual Studio 2010:
IntelliSense: argument of type "char *" is incompatible with parameter of type "LPCWSTR"
Ok and then my problem is how to call the function correctly
Have you any other suggestions to display text , or do you know why this isn't working?
THX in advance![]()
Explicitly call DrawTextA instead of the DrawText macro, or change the character set of your project to "multi-byte"
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
Or cast it as LPCWSTR
Way she fuckin goes boys
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
LPCWSTR in msvc++ is wchar_t *.
you should declare UNICODE in your project.
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)