Load USER32.DLL before calling UserSignalProc.

This commit is contained in:
Ulrich Weigand 1999-06-22 19:12:14 +00:00 committed by Alexandre Julliard
parent a9238080b7
commit 26c21f1f57
1 changed files with 4 additions and 0 deletions

View File

@ -439,6 +439,10 @@ void PROCESS_Start(void)
* 16-bit stack must be set up, which it is only after TASK_Create
* in the case of a 16-bit process. Thus, we send the signal here.
*/
/* Load USER32.DLL before calling UserSignalProc (relay debugging!) */
LoadLibraryA( "USER32.DLL" );
PROCESS_CallUserSignalProc( USIG_PROCESS_CREATE, 0 );
PROCESS_CallUserSignalProc( USIG_THREAD_INIT, 0 ); /* for initial thread */