Help About Coding

07/09/2012 00:27 Jeoni#16
I don't know much about it, so correct me, if I'm wrong.
But I think that you need native code to put a managed DLL to an unmanaged process. You can write this native code in C++ or in ASM. If you use managed FASM or make a codecave manually. You need to write native code. Even if it's masked in strings for managed FASM (like in easysurfers blog).
07/09/2012 00:32 MoepMeep#17
Ye, some asm is needed :p But well, everyone who does serious gamehacking should have atleast a basic understanding of asm, so smith point is invalid anyway :p
07/09/2012 08:40 MrSm!th#18
It's not invalid, native asm is still native.
Sorry for the little mistake, I have not much to do with managed Dll injection, I just once saw an example where a native C++ Dll created the host.
Anyway, it's still more uncomfortable than pure native code, but everyone has to decide it for himself, since the more comfortable way of programming with .NET might compensate that.
07/09/2012 20:43 tnd0#19
Quote:
It has the better features to use it as a hacking language (you can write lowlevel code a bit better, since Delphi for instance does not support other calling conventions than __stdcall) as well, and the GUI can be coded with QT, wxWidgets, MFC, ...

You have no idea of delphi. One could say delphi is a superset of pascal, why do you think there is a calling convention named pascal anyway?

Delphi supports all calling conventions, and since you can write assembler code inline anyway, you can even implement your own way of calling methods. Pascal, cdecl, stdcall and register are supported natively since Delphi 2.

And the so called 'features' used for hacking are just APIcalls, supported in every language capable of linking a dll.
07/09/2012 21:11 MrSm!th#20
Quote:
Originally Posted by tnd0 View Post
You have no idea of delphi.
I do.
Quote:
Delphi supports all calling conventions,
Well, I chatted with a good Delphi coder for a long time and he once said me that he could only use __stdcall. It may be, that I understood that wrong, sorry for the mistake.
Quote:
and since you can write assembler code inline anyway, you can even implement your own way of calling methods.
But that's not what I meant. You surely can do that, but that would not be a native support for it. You can even use multithreading in AutoIt if you use asm :rolleyes:
Quote:
And the so called 'features' used for hacking are just APIcalls, supported in every language capable of linking a dll.
No, they aren't. I am not stupid, I know what I meant.

Well, one missing feature would have been (but thanks for the correction) the lack of alternative calling conventions.
07/09/2012 21:38 CantShutMyMouth#21
This post has already transformed to a quarell/fight
I'm a starter and you guys talk about API's???,calls,assemblers???....
07/09/2012 21:50 MrSm!th#22
Well, you want to learn gamehacking, so you should get used to such expressions as fast as possible.
07/09/2012 22:06 MoepMeep#23
I heard the same about missing calling conventions, but that was in an older version. Bring a prove they exist in the newest.
07/10/2012 16:19 tnd0#24
[Only registered and activated users can see links. Click Here To Register...]

content: sourcecode, 32bit and 64bit executable.

compiles with delphi 6, the oldest version i have installed. released 21st May 2001 .