Richard Robertson Posted August 9, 2005 Share Posted August 9, 2005 i know how to call dlls explicitly but how do you call the functions dynamically? i can create a static function prototype but how would you do it at runtime like autoit's dllcall function? Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 9, 2005 Administrators Share Posted August 9, 2005 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 11, 2005 Author Share Posted August 11, 2005 assembly? i was hoping i might be able to do it oh well, just wondering Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now