I am using a delegate to pass a function pointer into a unmanaged DLL.
Under Linux/Mono everything works fine. Under Windows/.NET, my callback
function signature must look like this:

  void (__stdcall *func)(int);

But Windows/Mono seems to want:

  void (*func)(int);

Changing the signature will cause the other CLR to corrupt the stack.

Jason
379






_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to