In my memory scanner program which is a win32 Console Application the value for the initial offset to start scanning is hard-coded what i would like is to make it a user input value instead.
I should be able to since the main is already using argc & argv i've just never messed with them myself so any help would be appreciated. Going to start doing some reasearch also.
I have and even tried it but not sure where i was messing up later in the code i ended up doing the following and it worked fine and thanks for the help. :)
The main reason i wanted to do it this way was to keep from recompiling every single time since the address changes on each restart. My end game is to implement a findpattern function to get the inital offset which is above my pay grade currently and most documentation i find is using it via injecting a dll into the process and not a external like the collector is i'm using.