sotsotteik Posted November 20, 2007 Share Posted November 20, 2007 Currently i want to detect some pixel from the screen. But i don't want to use GDI32.DLL for detecting pixel. Recently i found out that VB.Net has their own detecting pixel DLL file which is System.Drawing.DLL. The problem is i can't use the function in the DLL $a = DllCall("System.Drawing.dll", "str", "GetPixel", "int", 100, "int", 100) ConsoleWrite(@Error) i shows Function not found. But i'm sure the GetPixel function is in there. As i know System.Drawing.dll got a class name call Bitmap and inside the class got the GetPixel. How can i use the GetPixel function?? Thank you very much in advance~~ 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