Re: kernel32: Prevent second loading of a library with specified path.

2009-06-09 Thread Alexander Morozov
> I think we already create our own dll's for testing purposes, see > kernel32/tests/loader.c (test_Loader()). > > Will that suffice? Thanks. This is what is need.

Re: kernel32: Prevent second loading of a library with specified path.

2009-06-09 Thread Paul Vriens
Alexander Morozov wrote: This should most likely be done in ntdll. Also please add tests for these different cases. For tests should create dll which can be loaded. But I do not know how to implement this in tests on WINE. I tried to copy and rename .exe.so module but it seems like the proble

Re: kernel32: Prevent second loading of a library with specified path.

2009-06-09 Thread Alexander Morozov
> This should most likely be done in ntdll. Also please add tests for > these different cases. For tests should create dll which can be loaded. But I do not know how to implement this in tests on WINE. I tried to copy and rename .exe.so module but it seems like the problem is existing only for P

Re: kernel32: Prevent second loading of a library with specified path.

2009-06-05 Thread Alexandre Julliard
Alexander Morozov writes: > Changelog > Prevent second loading of a library with specified path > > This patch fixes bug #18775. I tested WinXP and Win2003. > > When a library have long name (> 8 symbols before extension) an application > can run LoadLibrary(long name) and later LoadLibrary