coding issue

  1. M

    Windows 10 Python: get PID from window handle

    hi I am trying to get PID from the foreground window, but this doesn't work because I am passing the wrong kind of handle to the function. This is under python. How do I fix this? thx! import ctypes import time time.sleep(2) handle = ctypes.windll.user32.GetForegroundWindow() print(handle)...
  2. N

    Windows Vista Enumprinters API behaviour in Windows Vista

    Hello, my application has a feature that shows printers details as tree node and I use EnumPrinters API to fill nodes of this tree. i.e., the provider name, domain names and printer names etc. We have used Lazy loading concept in this tree formation. EnumPrinters API is called for any node level...
Back
Top