G
Gernold Schneider
I have a managed code function calling a unmanaged code
function which returns a "bool". Obviously the return value
is always "true", if i am not running the code in the debugger.
If i run the code in the debugger, everything works fine.
Is this a known bug?
Example:
#pragma unmanaged
bool function_unmanaged( void ) {
return false;
}
#pragma managed
bool function( void ) {
return function_unmanaged(); // returns true !!!
}
function which returns a "bool". Obviously the return value
is always "true", if i am not running the code in the debugger.
If i run the code in the debugger, everything works fine.
Is this a known bug?
Example:
#pragma unmanaged
bool function_unmanaged( void ) {
return false;
}
#pragma managed
bool function( void ) {
return function_unmanaged(); // returns true !!!
}