Alexandre Julliard wrote:
Andrew Ziem ahziem1@mailbolt.com writes:
+typedef void (*_INITTERMFUN)(void); +unsigned int (WINAPI *p_initterm)(_INITTERMFUN *,_INITTERMFUN *);
Msvcrt functions are not WINAPI. And why don't you simply call the function directly instead of loading it dynamically?
I found the second problem. To avoid warning implicit declaration of function ‘_initterm’ when compiling the test data.c, where should _initterm be declared? In a new dlls/msvcrt/data.h?
Andrew