On May 4, 2012, at 10:10 AM, Vincent Povirk wrote:
diff --git a/dlls/msvcm80/msvcm80_main.c b/dlls/msvcm80/msvcm80_main.c index cd38f5b..eb09898 100644 --- a/dlls/msvcm80/msvcm80_main.c +++ b/dlls/msvcm80/msvcm80_main.c @@ -50,3 +50,10 @@ void __cdecl CrtImplementationDetails_RegisterModuleUninitializer(void* handler) FIXME("%p: stub\n", handler); }
+/* handler is a "method" with signature int32 (*handler)(_exception*), but I'm
- not sure what that means */
I am. Actually, it's:
int (__clrcall *handler)(struct _exception *)
i.e. a "pointer to a function intended to be called from managed code that takes a pointer to a struct _exception and returns an int." The definition of struct _exception is in <math.h> under Visual Studio.
To write such a function, you'd need a C++/CLI compiler.
Chip