* dll_init.h (struct dll): Re-add modname.
* dll_init.cc: Throughout, use modname where it was used before. (dll_list::operator[]): Use modname. Move comment from dll_list::alloc here and remove hint about GetModuleBaseNameW. (dll_list::alloc): Store full path in name, pointer to basename in modname. Search dll using modname.
This commit is contained in:
		| @@ -56,6 +56,7 @@ struct dll | ||||
|   dll** deps; | ||||
|   DWORD image_size; | ||||
|   void* preferred_base; | ||||
|   PWCHAR modname; | ||||
|   WCHAR name[1]; | ||||
|   void detach (); | ||||
|   int init (); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user