Alexandre Julliard wrote:
+typedef void (*_INITTERMFUN)(void); +unsigned int (WINAPI *p_initterm)(_INITTERMFUN *,_INITTERMFUN *);
Msvcrt functions are not WINAPI.
Thanks for catching that.
And why don't you simply call the function directly instead of loading it dynamically?
Dynamic loading was the easier solution to the problem "LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'" when compiling with MSVC7. Now, I found msvcrt.lib, so I'll test and resubmit.
Andrew