vb.net scan screen with multiple instances

53 Views Asked by At

I have an app scanning a window area with this method inside a loop:

GDI32.GetPixel(ntPtr hdc, int nXPos, int nYPos)

This is working properly although in some computers it takes quite a lot of resources.

Now I will have different instances running, and the goal is that each instance scans a different area of different windows.

My questions are, if anyone has tried this before:

  • Will this same method work (GDI32.GetPixel)?
  • What about resource consumption, what if I have 4 instances running, anyone has any feedback on this?

I know it's not a very common scenario and maybe no one tried this, but just in case.

Thank you.

0

There are 0 best solutions below