Starting application from a directory with some kernel32.dll
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Tue Apr 9 02:45:53 CDT 2002
>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.com> writes:
Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
>> when an application is run in a directory, where there is also a
>> kernel32.dll, and this is _not_ the system directory,
>> MODULE_GetLoadOrder doesn't strip the path and therefore crashes when
>> native kernel32.dll is loaded.
>>
>> While the header of MODULE_GetLoadOrder talks about "any path is
>> stripped", the function only strips the path for "16 bit modules or
>> if the module resides in the system directory "
>>
>> Is this intended behaviour?
Alexandre> Yes, there can be multiple versions of a 32-bit dll with the
Alexandre> same name in different directories, and we have to be able to
Alexandre> configure them separately.
But loading native kernel32 and friends will lead to a crash. Would you
abject an explicit check for those?
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list