Jump to content

how does DllCall work?


Recommended Posts

  • Administrators

The concept is fairly easy once you know how function calls happen:

1. Get the address of the function with GetProcAddress()

2. parameters are pushed onto the stack

3. you call the function

4. you clean up the stack (or not depending on function calling type)

You have to use assembly and the devil is in the detail.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...