Edit: I posted this into the incorrect section; If any mod sees this and is kind enough to move it, thank you.
After browsing demo source code for CA NA hacks, I have noticed that many things are different from standard C++ programs.
This is why I've created this post:
I have a basic knowledge of C++ (Arrays, loops, variable types, methods (I'm switching from Java), etc.).
However, many things are different from a standard program.
-How exactly do these work?
"#define NameTag1 0x372DB630
#define NameTag2 0x372DB6AD"
-How would I cause it to show the tags?
-There's undoubtedly code that you need to put in to make the file a DLL
(This could probably be done by a google search, but I want to double check against any inconsistencies with CA)
Last edited by Azabirko0901; 06-25-2011 at 02:50 AM.
"Define statements" are nothing more than macros. The compiler looks for these statements and performs in line replacements in your code when it is compiling. They are just for simplicity, and are usually used to easily modify constants when they occur multiple times in your code.
There is nothing different from a "standard" C program. You have your regular entry point, except in this case you are using WinApi so the entry point is DLL Main(as it is usually referred to).
Last edited by CodeDemon; 06-25-2011 at 09:05 AM.