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'm working on small Windows Exception handling engine trying to gather maximum information from the system, including C++ exceptions RTTI. In a 32-bit VectoredExceptionHandler compiled by MSVS 2015, I successfully can obtain std::type_info pointer to RTTI of the type being thrown. It can easily be found in ((_ThrowInfo*) ExceptionPointers->ExceptionRecord->ExceptionInformation[2])->pCatchableTypeArray->arrayOfCatchableTypes[0] (see [...] read more
Although I have compiled my C program with -g -O0, the backtrace I get from gdb is useless: (gdb) bt #0 0x6113759d in wordfree () from /cygdrive/c/cygwin/bin/cygwin1.dll #1 0x75141375 in OutputDebugStringA () from /cygdrive/c/Windows/system32/KERNELBASE.dll #2 0x40010006 in ?? () #3 0x00000000 in ?? () Is there any way to get [...] read more
Im trying to run a function from a dll using cgo. The library is in c++ so I created a C header here are the functions defined and a .cpp file where is the implementation. lib.h: #ifdef __cplusplus extern "C" { #endif void* LoadEngine(char*); #ifdef __cplusplus } #endif lib.cpp: #include [...] read more
I register my own vectored exception handler, to catch and trace various exceptions in my application. Sometimes I get an exception having 0x40010006 code, which is thrown by OutputDebugString function. Certainly, I'd like just to ignore it. What would be the appropriate return value in this case: EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH? read more
I've been stepping through my functions using pieces of paper to see what happens when I try to remove the very first Node and then print it. Lets assume these are the elements already in the tree (depth, key, data). WARNING/// WALL OF TEXT AHEAD! 1, 09/17, Paul 0, 10/24, [...] read more