Posted: Sat Jan 19, 2008 10:23 am Post subject: [Help] Injecting vb.net dll
I have just finished the tutorial and i was wondering if someone could offer me some help or point me in the right direction.
In the tutorial it said that you can make a dll file in any programming language and then inject it into the game and call it.
i currently have Microsoft Visual Studio 9.0 how ever i am self taught so i have not taken any real classes on it. Also i have never made a dll file with it.
finding tutorials on making dll files with it shouldnt be a problem but how would i go about making a dll file for injection with cheat engine.
an example would be
sub [eax+08]
if i replaced that with a call to my dll file and was using c# or vb.net what would i need to program when i make the dll file to tell it to read from eax so i could manipulate the data.
i don't need to be spoon fed but any guidance is appreciated because this is the first time i have ever made a dll let alone one to inject and use to modify a game. I will check back later when i return from the store.
If it is unclear what i am asking then i'm sorry in advance.
VB.net cannot make DLL files without hacking the linker.
If you wanted to read eax at that address, you would have to attach as a debugger and stick a hardware breakpoint (or any other, I just prefer hardware for simple stuff like this) on that address. When you catch the exception generated use GetThreadContext() to get the value of the EAX register.
Joined: 06 Jan 2007 Posts: 768 Location: %HomePath%
Posted: Sat Jan 19, 2008 3:13 pm Post subject:
Well, by theory you can change the caracteristics of the PE header(could be done with any PE\Hex editor) to dll-like, but it could still fail(never tried it).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum