Re: Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set
19 Mar
2001
19 Mar
'01
7:21 p.m.
"Dmitry Timoshkov" <dmitry(a)sloboda.ru> writes:
Perhaps version.dll code should use DONT_RESOLVE_DLL_REFERENCES instead of undesirable LOAD_LIBRARY_AS_DATAFILE?
Not necessarily, it may be considered a feature to load version info from the native dll, even though the actual code will run from the builtin. This may help programs believe they got the exact version they wanted (since presumably the app installed the dll in the first place).
Will DONT_RESOLVE_DLL_REFERENCES work with built-in dlls somewhere in the future?
Unlikely; the problem is that we cannot prevent constructors from running, and we need to resolve imports before running constructors. -- Alexandre Julliard julliard(a)winehq.com
9032
Age (days ago)
9032
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard