CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Aug 2003
    Posts
    938

    ESP value modified.

    Hello.
    I hooked an address of a function withing my own process, but now when i run it i get this error:
    Code:
    Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
    I was testing this on Vista and wondering how can i bypass this?Note that thsi is only valid in debug builds.
    Thx
    Last edited by Quell; February 8th, 2007 at 10:06 PM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured