handles

“Error Creating Window Handle”

最后都变了- 提交于 2019-11-27 13:56:25
We're working on a very large .NET WinForms composite application - not CAB, but a similar home grown framework. We're running in a Citrix and RDP environment running on Windows Server 2003. We're starting to run into random and difficult to reproduct "Error creating window handle" error that seems to be an old fashion handle leak in our application. We're making heavy use of 3rd Party controls (Janus GridEX, Infralution VirtualTree, and .NET Magic docking) and we do a lot of dynamic loading and rendering of content based on metadata in our database. There's a lot of info on Google about this

SWT No More Handles

别来无恙 提交于 2019-11-27 06:34:27
Windows XP has the limit 10000 user handles for each process and total 32000 for each desktop session. However, when I run 4 or 5 SWT process, each consuming no more than 2000 user handles, the SWT No More handles exception will always be threw. Does anyone know why? Paul Lammertsma If I understand you correctly, you are probably getting the following exception: org.eclipse.swt.SWTError: No more handles You may be creating resources (such as Font , Image or GC objects) that you aren't correctly disposing. You might want to take a moment to read through the SWT guide on Managing Operating

“Error Creating Window Handle”

别来无恙 提交于 2019-11-26 18:17:49
问题 We're working on a very large .NET WinForms composite application - not CAB, but a similar home grown framework. We're running in a Citrix and RDP environment running on Windows Server 2003. We're starting to run into random and difficult to reproduct "Error creating window handle" error that seems to be an old fashion handle leak in our application. We're making heavy use of 3rd Party controls (Janus GridEX, Infralution VirtualTree, and .NET Magic docking) and we do a lot of dynamic loading

How to enumerate process' handles?

爷,独闯天下 提交于 2019-11-26 13:17:39
Is there any way how to enumerate process with given PID in windows, and get list of all his opened handles(locked files, etc.)? EDIT: I dont care about language. If it is in .NET, I'd be glad, if in WinApi (C), it won't hurt. If in something else, I think I can rewrite it :-) I did a deep googling and found this article . This article gave a link to download source code : I tried method in NtSystemInfoTest.cpp ( downloaded source code ) and it worked superbly. void ListHandles( DWORD processID, LPCTSTR lpFilter ) The code has following declaimer: // Written by Zoltan Csizmadia, zoltan

SWT No More Handles

浪尽此生 提交于 2019-11-26 12:04:05
问题 Windows XP has the limit 10000 user handles for each process and total 32000 for each desktop session. However, when I run 4 or 5 SWT process, each consuming no more than 2000 user handles, the SWT No More handles exception will always be threw. Does anyone know why? 回答1: If I understand you correctly, you are probably getting the following exception: org.eclipse.swt.SWTError: No more handles You may be creating resources (such as Font , Image or GC objects) that you aren't correctly