Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28

Thread: C++ help needed

  1. #1

    Question C++ help needed

    I'm looking for some C++ experts which can teach me a thing or two about the following functions:

    FindWindow()
    ReadProcessMemory()
    WriteProcessMemory()

    I still seem to be lacking some knowledge on these functions.
    If you have the patience to help me out on this I would be very grateful.

    Add me on Xfire: seanaero
    or just leave a reply here on how I can contact you

    Thanks in advance,

    Sean Aero
    Reply With Quote

  2. #2

    Re: C++ help needed

    Reply With Quote

  3. #3

    Re: C++ help needed

    Quote Originally Posted by Kalub View Post
    Thanks for your "suggestion". I too thought it would be a good idea to start searching the internet and try some stuff out before asking for help. So I have been doing so for the last 2 days, have gained some valuable knowledge, but I seem to be getting stuck with certain errors given in Visual Studio 2008. This is why I posted here.

    Instead of building a complete trainer I thought it would be wise to build the trainer from the bottom up.
    First splitting the timer from the "FindWindow()" and build them in separate programs.
    I succeeded with the timer but failed with the FindWindow function.
    I have the feeling I'm forgetting to include something.

    Again if there is someone willing to help me out by having a look at my code, please contact me.
    Reply With Quote

  4. #4
    Senior Member Vicky's Avatar
    Join Date
    May 2007
    Location
    Up there...
    Posts
    874

    Re: C++ help needed

    Why use FindWindow when you want processes? And how does it fail?
    Reply With Quote

  5. #5
    HA10 Limited's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    7,800

    Re: C++ help needed

    Quote Originally Posted by Vicky View Post
    Why use FindWindow when you want processes? And how does it fail?
    FindWindow can be used in conjunction with other process handling routines to actually hook the process. Basically you'd use it to find the "Halo", window. I used to use this method back in the VB6 days.

    What you want to do is find the process ID, or window ID then you can attach to that.

    WriteProcessMemory() basically takes the process ID of the Halo window, the address of what you are editing, the actual data your trying to write which is known as the buffer, the size of the buffer in bytes and the output number of bytes written which is used to error check.

    I don't really see what you want from us, explain these functions? Theres a ton of resources on the web.

    I'll take a gander at your code, I'm busy but I'll try my best

    Are you actually competent with C++?
    Reply With Quote

  6. #6

    Re: C++ help needed

    Quote Originally Posted by Limited View Post
    I don't really see what you want from us, explain these functions? Theres a ton of resources on the web.
    I should be more specific, what I'm looking for is someone who is experienced with these functions and who is willing to have a look at my code at times when I get really stuck.

    Quote Originally Posted by Limited View Post
    I'll take a gander at your code, I'm busy but I'll try my best
    Thanks would really appreciate it! ( PM. How to get in direct contact with you. Xfire, AIM, MSN? )

    Quote Originally Posted by Limited View Post
    Are you actually competent with C++?
    Starting at how many days would you call someone competent?
    In other words, very new to C++. Non the less reading a lot about it, trying a lot of examples, really want to get familiar with it.
    Reply With Quote

  7. #7

    Re: C++ help needed

    You know what APIs are?
    Reply With Quote

  8. #8
    Senior Member Vicky's Avatar
    Join Date
    May 2007
    Location
    Up there...
    Posts
    874

    Re: C++ help needed

    Quote Originally Posted by Limited View Post
    FindWindow can be used in conjunction with other process handling routines to actually hook the process. Basically you'd use it to find the "Halo", window. I used to use this method back in the VB6 days.
    Yes, that's one way.. but getting a processlist gives you right what you want. And you don't need hooks.

    Quote Originally Posted by seanaero View Post
    In other words, very new to C++. Non the less reading a lot about it, trying a lot of examples, really want to get familiar with it.
    And making a 'trainer' is of course the 1st thing you want to try....
    Reply With Quote

  9. #9

    Re: C++ help needed

    Quote Originally Posted by Vicky View Post
    And making a 'trainer' is of course the 1st thing you want to try....
    Keeps me motivated
    Reply With Quote

  10. #10

    Re: C++ help needed

    Quote Originally Posted by seanaero View Post
    Keeps me motivated Will get me frustrated
    fify
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •