Austin English austinenglish@gmail.com wrote:
Try 2: use cdecl calling convention
-@ stub __crtSetUnhandledExceptionFilter +@ cdecl __crtSetUnhandledExceptionFilter(ptr) kernel32.SetUnhandledExceptionFilter
It's not acceptable to mix calling conventions when forwarding an API with number of arguments != 0.