This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I have an enum type with 1223 elements. I had a function with 1222 cases and a default case in a switch block. If I want to modify some elements in the enum type, I also need to modify that function. Worse, I may have more than one function with [...] read more
I need to create a SafeArray to pass to a COM method. How do I create/maintain/destroy a SafeArray in C#? I have never came across SafeArrays before and could not find much with a quick google search, so any help is much appreciated. EDIT: Added Sample Code: The COM method [...] read more
I'm trying to listen to touch events (TOUCH_BEGIN, TOUCH_UPDATE, TOUCH_END and TOUCH_OWNERSHIP) on the root window. Touch events aren't directly integrated into XCB, so I have to use the input extension (libxcb-xinput). I already managed to set up an event listener for events coming from the input extension, but I [...] read more
I am using COM in my C# .NET project. However one of the methods I call is not acting as expected. So I am curious to see what is happening between my .NET code, the Interop layer and COM. I know the tlbimp.exe generates the metadata wrapper for the COM [...] read more
Apparently gdb cannot find the symbols associated with local variable-length arrays. Is it a gcc problem or a gdb problem? (Or maybe it's just my problem...). Take the following program "main.c" #include <stdio.h> #include <stdlib.h> int main( int argc, char **argv ) { int n; n = random() & 0xf; [...] read more
I have the following disassembly: [dest] = d5 cd e8 ca 68 movzx eax, [ebp+dest] # value of edx at this point is: F7FBB898 movsx edx, al # value of edx after this is: FFFFFFD5 # [ebp+var_E] stores 0 movzx eax, [ebp+var_E] movsx eax, al # eax = 0 here [...] read more