M
Maxim Kazitov
Hi,
In my project I call some C functions from C# code, and some times I should
use callback functions. Usually all works fine.
But in some cases I have following problem :
Error Message: Run Time Check Failure #0 The value of ESP was not properly
saved across a function call. This is usually a result of calling a function
declared with one calling convention with a function pointer declared with a
different calling convention
I implement call back through "delegate" statement. Is it possible to change
calling conversion for callback function in C# ?
Thanks
Max
In my project I call some C functions from C# code, and some times I should
use callback functions. Usually all works fine.
But in some cases I have following problem :
Error Message: Run Time Check Failure #0 The value of ESP was not properly
saved across a function call. This is usually a result of calling a function
declared with one calling convention with a function pointer declared with a
different calling convention
I implement call back through "delegate" statement. Is it possible to change
calling conversion for callback function in C# ?
Thanks
Max