April 4, 2013
2:52 a.m.
Austin English <austinenglish(a)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. -- Dmitry.