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 ;-)
A+