mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
[MSVCRT] Initialize exception support in DllMain
This commit is contained in:
parent
86f2d4cd4e
commit
1a6b6a27b2
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue