-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-11-27 04:11, schrieb Alistair Leslie-Hughes:
Hi,
Changelog: winetest: Skip over stub dll if detected
Does LoadLibrary(LOAD_LIBRARY_AS_DATAFILE) avoid triggering the "do you want to install dplay?" message box? (I guess because DllMain is not called)
LPSTR data = HeapAlloc(GetProcessHeap(), 0, size);
...
if (VerQueryValueA(data, buf, (LPVOID*)&p, &size))
LPJUNK. (Use void ** for LPVOID *)
sprintf(buf, "\\StringFileInfo\\%04x%04x\\OriginalFilename", MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), 1200);
I'll test this on my non-english Windows and see if this works as intended.
- Windows 8 has a concept of stub DLL's. When DLLMain is called the user is prompted
- to install that component. To bypass this check we need to look at the version resource.
A matter of opinion according to Wikipedia, feel free to ignore me: "DLLs" would be better as the plural of "DLL". "DLL's" looks like the possessive, although http://en.wikipedia.org/wiki/English_plurals#Plurals_of_letters_and_abbrevia... says that using 's to form the plural of an abbreviation is legitimate.