CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sonnyk88

Search: Search took 0.04 seconds.

  1. Is it possible to get the size of a LPVOID pointer?

    I have intercepted ReadFile() by means of a Proxy DLL and I need to know the size of lpBuffer.

    I haven't yet seen any method that could help me out.

    Do you guys know any way to accomplish this?...
  2. Replies
    3
    Views
    4,669

    Re: Hooking ReadFile() HELP PLEASE!

    Thank you all guys for your attention and replies though I could finally solve this problem with memcpy(). The reality is that I used a simple char* in my first post to make things simpler for...
  3. Replies
    3
    Views
    4,669

    Hooking ReadFile() HELP PLEASE!

    Well, I have hooked the ReadFile() and I could play a lot with it, like injecting MessageBox()es and all that but I could never replace the arguments it writes, I've read a lot about ReadFile and I...
  4. Replies
    1
    Views
    545

    Help with ReadFile()

    Hello, I wrote this code. All it does is read Readme.txt and displays its content. How could I modify my code so that it could read Readme.txt from a Nth byte position I specify?

    For example, the...
  5. Replies
    5
    Views
    10,973

    Re: How can I hook CreateFile Api?

    Silly me, It's not the CreateFile() what I must hook, I must hook ReadFile() which uses the handle returned by CreateFile() to work...

    Down here, there's a simple Function which uses CreateFile to...
  6. Replies
    3
    Views
    1,141

    Re: How can i make this multithreaded?

    http://www.madwizard.org/programming/tutorials/netcpp/

    Here you will find a very good tutorial about sockets.
  7. Replies
    4
    Views
    2,498

    Re: New in Assembly

    Use MASM32, it has macros and I liked this a lot. I think it's the easiest one to use.

    Good luck!
  8. Replies
    5
    Views
    10,973

    Re: How can I hook CreateFile Api?

    Thanks a lot, BobS0327. I did a new research based on your answer. I've found that the zwCreateFile is automatically called by the CreateFile function and thus controlling the zwCreateFile seems to...
  9. Replies
    5
    Views
    6,008

    Re: What is a handle?

    http://www.parashift.com/c++-faq-lite/references.html

    There's a lot of info about handles vs. pointers, etc... I've had the same question some time ago... good luck!
  10. Replies
    5
    Views
    10,973

    How can I hook CreateFile Api?

    Hello everybody;

    I am creating a 3d-map for a game (namely: Counterstrike) and I have developed an app that encrypts it with AES. (I want to protect it from outsiders)

    The problem is that this...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured