Top "Handle" questions

Handle is an abstraction of a resource or a reference to an entity.

What is a handle in C++?

I have been told that a handle is sort of a pointer, but not, and that it allows you to …

c++ handle
What is a Windows Handle?

What is a "Handle" when discussing resources in Windows? How do they work?

windows handle
Finding the handle to a WPF window

Windows forms had a property win1.Handle which, if I recall, returns the handle of the main window handle? Is …

wpf window handle
Get Application's Window Handles

I'm building an app that given another app mainWindowhandle it collects information about the window state. I have no problem …

c# .net winapi handle
How to check if a HANDLE is valid or not?

In C++, I have opened a serial port that has a HANDLE. Since the port may close by an external …

c++ c winapi port handle
How many Windows handles in use is "too many"?

I understand that the answer to this question may depend on registry settings and on the version of Windows, and …

windows performance handle
Return Window handle by it's name / title

I can't solve this problem. I get an error: The name 'hWnd' does not exist in the current context It …

c# window title handle
Is it possible to make my application work in safe mode?

I have an android application which lists installed and system applications separately. When the user tries to reboot the device …

android device handle safe-mode
C# get child handles using FindWindowEx by name and ordinal number

According to http://msdn.microsoft.com/en-us/library/ms633500(v=vs.85).aspx I define FindWindowEx function. using System.Runtime.InteropServices; […

c# winapi visual-c++ handle spy++
`return None` in python not recommended. How to bypass?

I have a function which connects to a url by httplib using lxml. It checks by xpathfor a certain pattern …

python return-value handle