handle Questions
3
I am trying to delete a SQLite database file from my C# application. The same application performs multiple RW queries to the DB by creating and disposing a new connection each time.
When trying to...
Fraction asked 19/1, 2023 at 12:51
9
Solved
I have been told that a handle is sort of a pointer, but not, and that it allows you to keep a reference to an object, rather than the object itself. What is a more elaborate explanation?
3
Solved
In playwright-python I know I can get an elementHandle using querySelector().
Example (sync):
from playwright import sync_playwright
with sync_playwright() as p:
for browser_type in [p.chromium, ...
Pernambuco asked 21/12, 2020 at 22:29
1
I hear these two terms, anonymous function and function handle being used to refer to something like f = @(x) x.^2 in MATLAB. But then I've also heard that these terms mean different things. How do...
Malissamalissia asked 27/12, 2023 at 6:27
3
Solved
I'm displaying a webpage in a WebView and on the webpage, there is a button. When you click the button, a confirmation dialog is supposed to popup, but it doesn't show in my WebView. It does popup ...
6
In the login view, if the user taps on the login button without having inserted his credentials, the LoginFailState is yield and the view reacts to it. If he taps again, this LoginFailstate is yiel...
6
Solved
Windows forms had a property win1.Handle which, if I recall, returns the handle of the main window handle?
Is there an equivalent way to get the handle of a WPF Window?
I found the following code o...
5
Solved
My application uses lseek() to seek the desired position to write data.
The file is successfully opened using open() and my application was able to use lseek() and write() lots of times.
At a give...
5
Using multiprocessing on windows it appears that any open file handles are inherited by spawned processes. This has the unpleasant side effect of locking them.
I'm interested in either:
1) Prevent...
Meiosis asked 4/6, 2009 at 1:12
6
Solved
Given a handle to a Windows Registry Key, such as the ones that are set by ::RegOpenKeyEx(), is it possible to determine the full path to that key?
I realize that in a simple application all you h...
5
Solved
can someone tell me how i can capture a running process in c# using the process class if i already know the handle?
Id rather not have not have to enumerate the getrunning processes method either....
4
I'm working with DirectShow in firemonkey, and i have a problem with outputting Video.
iVideoWindow.Put_Owner(Panel1.Handle);
I need handle of TPanel, to display video at it. But FMX controls h...
Weiler asked 23/3, 2013 at 18:51
3
Solved
I have a function to optimize, say Function, in Matlab. This function depends on variables (say x) over which I want to optimize and one parameter (say, Q) which does not need to be optimized.Hence...
Bornite asked 18/2, 2013 at 18:34
7
Solved
I can't solve this problem.
I get an error:
The name 'hWnd' does not exist in the current context
It sounds very easy and probably is... sorry for asking so obvious questions.
Here's my code:
...
4
I want to properly reuse a curl handle, so that it won't give me errors and function normally.
Suppose I have this piece of code:
CURL *curl;
curl_global_init(CURL_GLOBAL_ALL);
curl = curl_ea...
8
Solved
6
My program appears to be leaking file handles. How can I find out where?
My program uses file handles in a few different places—output from child processes, call ctypes API (ImageMagick) opens fil...
3
Solved
I'm developing a web application, and I need something like this:
url(r'^$', 'collection.views.home', name='home'),
url(r'^$', 'collection.views.main', name='main'),
If the user is authenticated...
16
Solved
Recently, I read a white paper by an individual who refers to a pointer to a struct as a handle. The author was clearly someone who had written C code on the windows platform previously. Googling i...
3
Solved
I'm building an app that given another app mainWindowhandle it collects information about the window state. I have no problem collecting information about child windows, but I can not access the ot...
7
In my Magento 2.1.1 shop with 2 custom modules some of my admin content pages are not loading.
(Widget, theme and shedule are loading fine - others not :-( )
For all of these I get "Not registered...
3
Solved
When creating a child process in C++ using Windows API, one can allow inheritance of handles from parent to child. In a Microsoft example "Creating a Child Process with Redirected Input and Output"...
Langmuir asked 26/2, 2010 at 21:17
2
Solved
What I intend to do is very simple but yet I haven't found a proper way to do it. I have a function handle which depends on two variables, for example:
f = @(i,j) i+j
(mine is quite more complic...
5
Solved
I understand that the answer to this question may depend on registry settings and on the version of Windows, and perhaps on the amount of RAM if there is not enough memory. For the sake of this que...
Auster asked 4/6, 2009 at 15:50
2
Solved
I have a TreeList , with many Items , each item has it's own unique ID .
I allow the user to open multiple IDs at once . But I would like to prevent the user from opening the same ID twice .
So I ...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.