mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[MSVCRT] Initialize exception support in DllMain
This commit is contained in:
@@ -30,6 +30,7 @@ extern char** _environ; /* pointer to environment block */
|
||||
extern char** __initenv; /* pointer to initial environment block */
|
||||
extern wchar_t** _wenviron; /* pointer to environment block */
|
||||
extern wchar_t** __winitenv; /* pointer to initial environment block */
|
||||
extern void msvcrt_init_exception(void*) DECLSPEC_HIDDEN;
|
||||
|
||||
/* LIBRARY ENTRY POINT ********************************************************/
|
||||
|
||||
@@ -43,6 +44,8 @@ DllMain(PVOID hinstDll, ULONG dwReason, PVOID reserved)
|
||||
|
||||
TRACE("Process Attach\n");
|
||||
|
||||
msvcrt_init_exception(hinstDll);
|
||||
|
||||
if (!crt_process_init())
|
||||
{
|
||||
ERR("crt_init() failed!\n");
|
||||
|
||||
@@ -934,7 +934,7 @@
|
||||
@ stub -version=0x600+ _scwprintf_p_l
|
||||
@ cdecl _searchenv(str str ptr)
|
||||
@ cdecl -version=0x600+ _searchenv_s(str str ptr long)
|
||||
@ stub -version=0x600+ -arch=i386 _seh_longjmp_unwind4
|
||||
@ stdcall -version=0x600+ -arch=i386 _seh_longjmp_unwind4(ptr)
|
||||
@ stdcall -arch=i386 _seh_longjmp_unwind(ptr)
|
||||
@ stub -arch=i386 _set_SSE2_enable
|
||||
@ stub -version=0x600+ _set_controlfp
|
||||
|
||||
Reference in New Issue
Block a user