Questions tagged [handles]

175 questions
1
vote
1 answer

How can I reclaim thread handles allocated by the RPC runtime?

A little background: I'm working on a Windows program that uses RPC to communicate over a network. Network connections are made and disconnected continuously. The RPC calls are synchronous, but there are more than one client threads operating…
TheWalruss
  • 33
  • 3
1
vote
0 answers

Control Main Menu in another application

I'm creating a component that will make access to other applications and fill informations to them. Usually call up forms of other applications and will automate the filling informations in fields. The class of filling is ready. I did all access…
Delphiman
  • 373
  • 4
  • 15
1
vote
2 answers

matlab: gui and global variables

I'm having several functions (defined in separate files) within a Callback in my GUI, like that: function myFunction_Callback(hObject, eventdata, handles) [output] = function1(input); [output] = function2(input); [output] =…
Art
  • 1,196
  • 5
  • 18
  • 34
1
vote
2 answers

How to get the value in Ember Select by Below code

Handle Bars Is below :- {{#each category in controller}} {{view Ember.Select contentBinding="App.testsController.content" optionLabelPath="content.category" selectionBinding="content.myVal" }} {{view Ember.Select …
Amartya
  • 11
  • 2
1
vote
2 answers

Monitor process resources on Windows CE 5.0

I'm developing a WinCE 5.0 application that uses two commercial libraries. When the application starts calling the second library it gets slowlier and then after some use, it hangs and the whole OS freezes. It has to be rebooted to work again. The…
Federico
  • 576
  • 4
  • 20
1
vote
2 answers

GUI handles in classes

I'm writing an OO gui program and I'm having issues trying to use the set() function to change GUI element properties. I'm simply trying to change a buttons enable property from off to on. I have attached abridged code showing the same problem…
rfhigler
  • 11
  • 2
1
vote
2 answers

In Matlab, own function which dynamically load/display images into Axes from a Gui in a loop?

With Guide I made a Matlab Gui that have 10 Axes in which i want to display images, in all of them at once, after i press a Button. I made a separate .m file with function Load_Write_Img_Results(img_index) that i call from the Button Callback which…
Florin Vîrdol
  • 395
  • 2
  • 10
  • 28
1
vote
1 answer

Scriptaculous slider price range handles

I'm using Scriptaculous to create a price range slider with two handles. Problem at the moment is the two handles can slide past each other. How can I make them stop if they reach the other handle Thanks
0
votes
1 answer

Is there a WCF equivalent to RPC context handles?

I'm updating an old C++ service to use WCF instead of RPC and there is an issue as to what type to use when sending and receiving a handle (HANDLE, void*..etc). In the updated service I currently have it using IntPtr, but this does not work when…
j t
0
votes
1 answer

how to get the control of the UI Element Clicked in a external application

How can i get the control (and possibly its text value) of a control which was clicked in another third party application (its not a .net or wpf application for which there are answers which did not solve my problem) I can get the click event in my…
Hari Krishna
  • 551
  • 6
  • 21
0
votes
1 answer

Detect Refresh action under windows xp

My question is simple. How I can detect if user refreshed explorer under windows xp? Or if it would be easier how to detect if user refreshed desktop? I heard that I can listen desktop handle. If refresh action will occur I will notice it.
user1042321
  • 45
  • 1
  • 9
0
votes
1 answer

handles a control in a formview in asp.net

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
Julio
  • 31
  • 1
0
votes
2 answers

How can you break on handle creation?

I have an application that spawns multiple child processes. Before launching a child, I create stdOut and stdErr handles to a log file (for example, if I am about to launch procA, i create handles to logA.log). I set these handles on the child…
Bogdan Gavril MSFT
  • 20,615
  • 10
  • 53
  • 74
0
votes
1 answer

How do have two constraints on a UNION?

I have this code below. It works if i use only ONE WHERE variable but the moment i add another one, the query doesn't work. It works if i just use this one all unions: where table_constant.user_id = '$uid' But when i use this one below,…
KPO
  • 890
  • 2
  • 20
  • 40
0
votes
2 answers

How do I add my own variables to the handles structure from within a custom function of mine?

I have a question to ask the MATLAB gurus here .. So here is my code (only showing lines of code which are relevant to the problem here): mainProcess(hObject, handles) handles.Checkpoint2 =1; guidata(hObject, handles); function…
Ahmad
  • 12,886
  • 30
  • 93
  • 146