load_dll problem

Eric Pouech pouech-eric at wanadoo.fr
Wed May 14 11:18:57 CDT 2003

Dimitrie O. Paun wrote:
> Folks,
> I am trying to run some Winelib apps built with winegcc, and
> they don't work. winegcc/winewrap do the wrapper idea to avoid
> initialization problems: basically the main app is built as a
> .dll which is loaded with LoadLibrary by a small loader. Well,
> this DLL is not found, and the app doesn't load.
> I think the problem is in load_dll(), in dlls/ntdll/loader.c

AFAIR, builtin DLLs are only loaded from LD_LIBRARY_PATH (not any Win32 
related stuff, like win32 system dir...)
adding your dialogs dir to LD_LIBRARY_PATH should do (your shell would 
do I think)
(look what tools/wrapper does ;-)

Eric Pouech

More information about the wine-devel mailing list