> This is weird: wine tries to load the DLL as if was a builtin DLL, which > it obviously isn't. I am getting the impression, it is falling back to builtin DLL because it fails to load the native one. > Could you please make a WINEDEBUG=+module,+dll run? I just did. What I see is interesting. fantom.dll loads some other dlls (visa32.dll, nivisv32.dll, msvcr71.dll). The loading happens ok. At the very end, it seems to fail initializing nivisv32.dll: --- trace:module:process_attach (L"fantom.dll",(nil)) - START trace:module:process_attach (L"VISA32.dll",(nil)) - START trace:module:process_attach (L"NIVISV32.dll",(nil)) - START trace:module:process_attach (L"MSVCR71.dll",(nil)) - START trace:module:MODULE_InitDLL (0x42e0000 L"MSVCR71.dll",PROCESS_ATTACH,(nil)) - CALL trace:module:LdrGetDllHandle 0 0 L"kernel32.dll" -> 0x7b820000 trace:module:LdrGetDllHandle 0 0 L"kernel32.dll" -> 0x7b820000 trace:module:LdrGetDllHandle 0 0 L"KERNEL32.dll" -> 0x7b820000 trace:module:MODULE_InitDLL (0x42e0000,PROCESS_ATTACH,(nil)) - RETURN 1 trace:module:process_attach (L"MSVCR71.dll",(nil)) - END trace:module:MODULE_InitDLL (0x63100000 L"NIVISV32.dll",PROCESS_ATTACH,(nil)) - CALL trace:module:MODULE_InitDLL (0x63100000,PROCESS_ATTACH,(nil)) - RETURN 0 warn:module:process_attach Initialization of L"NIVISV32.dll" failed trace:module:process_attach (L"NIVISV32.dll",(nil)) - END trace:module:process_attach (L"VISA32.dll",(nil)) - END trace:module:process_attach (L"fantom.dll",(nil)) - END trace:module:LdrUnloadDll (0x24f0000) trace:module:LdrUnloadDll (L"fantom.dll") - START --- So it unloads fantom.dll with all dependent dlls Am I right? How would I check why nivisv32.dll fails? Thanks for the hints, Sergey _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users