Jump to content

Recommended Posts

Posted

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.html

MSDN library: msdn.microsoft.com

DllCall info on the forums: http://www.autoitscript.com/forum/index.php?showtopic=7072

Posted

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! :mellow:

2015 - Still no flying cars, instead blankets with sleeves.

Posted

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.

  • 3 years later...
Posted (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 by Elettrone

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
  • Recently Browsing   0 members

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