greenmachine Posted April 5, 2006 Share Posted April 5, 2006 The way I did it (besides finding it and copy/pasting) was to use DllExp to find the exported functions (handy tool right there), and then look it up on MSDN. The thing is, once you know the params, you still have to know which type to use in AutoIt to match that of the function call.For example, "HDC" in the GetDC function is "int" in AutoIt (I had no idea).DllExp can be found here: http://www.nirsoft.net/utils/dll_export_viewer.htmlMSDN library: msdn.microsoft.comDllCall info on the forums: http://www.autoitscript.com/forum/index.php?showtopic=7072 Link to comment Share on other sites More sharing options...
Lakes Posted April 6, 2006 Share Posted April 6, 2006 Thanks, I`ll have a look at these. I was kinda hoping that someone Like Larry (the dll mister ) would have built up a Libary of what all the gdi calls did and how to use them in autoit.... But that would be asking a lot I know! 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
greenmachine Posted April 6, 2006 Share Posted April 6, 2006 That's what you use DllExp for... export the functions and look up the ones that sound interesting. MSDN has plenty of info. However, plenty of it is confusing, so it'll likely take some effort to get right. Link to comment Share on other sites More sharing options...
Elettrone Posted June 6, 2009 Share Posted June 6, 2009 (edited) I know this is a VERY old topic, still, any idea how to implement some sort of pointer for the center? I tried with the DLL version(cuz is way faster) displaying a small 1px gif image right in the middle after the gdi draw but as the time goes the performance decreases drastically. Any help at all would be great. UPDATE: nevermind, i didnt realize i was drawing the same image over and over cuz i pit the draw in the loop, i solved the issue drawing the image once outside the loop then resetting the show state after each GDI draw cycle with zero perfromance hit. Edited June 6, 2009 by Elettrone 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