handles Questions

11

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'r...
Reinold asked 18/9, 2008 at 0:26

2

I have a Windows Forms application written in .NET 4.0. Recently, while execution some tests, I noticed that there is some problem with handles. Table below shows the results: As you can see the...
Degression asked 16/2, 2014 at 18:36

3

with this code: Show a tcp video stream (from FFPLAY / FFMPEG) in an C# application I successfully grabbed FFmpeg output inside my c# winform. By changing args is also possible to play video direc...
Goree asked 16/7, 2015 at 22:28

1

I am working on GUI. I want to store data in extra fields created in handles structure. However, I don't know how to update handles structure properly when callback function ends. Please, give any ...
Crate asked 1/5, 2017 at 15:4

8

Solved

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...
Manzanares asked 7/1, 2010 at 6:10

3

Solved

Assuming I already have the handle to a window, I can get the PID with GetWindowThreadProcessId. Is there a way I can get the process name without having to get all the processes and try to match m...
Rosetta asked 27/1, 2011 at 17:31

1

Solved

I'm trying to dynamically create views (UIImageView and UITextView) at runtime by user request and then allow the user to move and resize them. I've got everything working great, except for the res...
Decidua asked 24/4, 2016 at 5:25

3

I'm trying to use function SetForegroundWindow(HWND hWnD). I have some handles but it's not working as parameter of above function. My handle is a thread and I want to run it in foreground. What a...
Dingdong asked 4/8, 2013 at 6:48

8

Solved

In what circumstances would updating a UI control from a non-UI thread could cause the processes' handles to continually increase, when using a delegate and .InvokeRequired? For example: public d...
Intercede asked 15/6, 2010 at 19:40

1

Solved

I create a custom legend, but he does not show the hatches of the patches. Whats wrong? import matplotlib.pyplot as plt from matplotlib.patches import Patch from pylab import * t = arange(0.0, 2.0...
Danaus asked 23/1, 2015 at 13:2

2

Solved

I am trying to put handle on a jquery resiazble box on the 4 sides and 4 corners. I can get them on 4 sides no problem and the top corners but for some reason the bottom corners are playing up and...
Glaser asked 20/8, 2013 at 9:10

1

Solved

I'm facing this error in Eclipse All the time. It occurs every couple of minutes in random cases. I'm using windows 7 64 bit with latest jdk 7 and latest Firefox ( I have seen in many such ca...
Ironstone asked 3/9, 2013 at 16:33

1

Solved

I need to make resizable handles like in this image. To be more specific, I need those blue dots to be around my <div> to allow resizing from different sides. Currently I'm using the fol...
Supplicate asked 10/4, 2013 at 10:56

1

Solved

I need to list all open handles in current process. Since i could not find any function like "EnumHandles", I was thinking of making a loop from 0 to 1000. The question is how i can retrieve the na...
Botulin asked 3/1, 2012 at 22:2

2

Solved

This is the first time ever that I'll be using SafeHandle. I need to call this P/Invoke method that needs an UIntPtr. [DllImport("advapi32.dll", CharSet = CharSet.Auto)] public static extern ...
Recapitulate asked 6/12, 2011 at 8:12

1

How can I do a handles from a control contened in a formview, in code only i can see formview but not the controls in the inserttemplate. thank for any help
Puce asked 20/8, 2011 at 0:39

5

Solved

Protected Sub Menu1_MenuItemClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu1.MenuItemClick End Sub In VB.net, we have the Handles keyword, I'm won...
Cum asked 25/5, 2011 at 20:56

3

Solved

Microsoft's GDI+ defines many empty classes to be treated as handles internally. For example, (source GdiPlusGpStubs.h) //Approach 1 class GpGraphics {}; class GpBrush {}; class GpTexture : publ...
Tamarind asked 24/12, 2010 at 10:47

3

Solved

I'm coming from a background whereby pointers should generally be compared with 'NULL' and integers with '0'. Since I didn't perceive Windows handles to be 'pointers' in the pure sense (being 'han...
Nobe asked 11/10, 2010 at 10:55

3

Solved

What are the implications of calling CloseHandle more than once? The docs say "you shouldn't" but I think I have a realistic case with named pipes where a handle might be closed externally (See en...
Armandarmanda asked 5/7, 2010 at 11:3

1

Solved

I'm migrating some code from VB.NET to C# (3.5). I find structures like: Public Event DataLoaded(ByVal sender As Object, ByVal e As EventArgs) Protected Sub Mag_Button_Load_Click(ByVal sender As...
Facies asked 27/4, 2009 at 16:43
1

© 2022 - 2024 — McMap. All rights reserved.