Hello all.

I have faced with the following problem.

Currently Wine initialization looks like this:

wine/miscemu/main.c
main():
->>>> MAIN_MainInit()
-> THREAD_InitStack()
-> SIGNAL_Init()
->>>> LoadLibraryA( "KERNEL32" )

wine/loader/main.c
MAIN_MainInit:
-> PROCESS_Init( win32 
-> SYSLEVEL_Init()
-> MAIN_WineInit()
-> PROFILE_LoadWineIni()
-> DRIVE_Init()
-> DIR_Init()
-> SHELL_LoadRegistry()

Do you see the problem? Kernel32.dll is loaded AFTER the whole
initialization process while the initialization itself uses
functions from kernel32 AND FROM OTHER dlls (such as registry
functions from advapi32.dll).

How it could be solved in a clean way?

Dmitry.


Reply via email to