-----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.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJUdu6IAAoJEN0/YqbEcdMwmZQP/i9yruybSkmeAtFnaAu6SPG9 r73Q/028i2u/mOqaxrc90L/uzM1+sOU7Y9hctp0obQJ1RjpNJqhtqV5UnyFrdWIP 2B6LsrOjk99pxUXDEsLX8r5cSnQqdXqpqey600WQDJwFp/hrnIC3QF3MPheIqkJh I7OUptt6QPTQpdJmab4rh7Bt+/hEVwol4wNF3UW6S4cYvdh6L5UtEW5OK4+qelWC 8ztulOrGkvlJfwV3ax3fKfu/7UpROyBi6yVKTuuprCxvKCHpr41Vxl+JWmBef16v VHZYJ0Jo9OrW48PGTp0mnL9tP/BVIrwcc8lJLIyvYqc3T2FoVXqQBAo/X3RUYQGF mlVdThstHTSQDldSJfwYhZETxPsjRS9hud3DWNjj5YzLPnw9kpKL+cOVDIze3GXV 9xikER+GQMPRjsh5EK1Z5Jtwn3i0V8XF5aDJBLJT8zXE8EOYjFCwl6YOPSgXRF0P FDzPfkex7NJaefjJ5tQmJw8MFYwP5HU+nBTlwwzoiAtca6+zfn/aULlmFJcDU9Zq gjnY7eUIngRqnPPVBbYz+5B7+YMwjoN7NvTtQ/C4uuufvulYa9gvuakg15HZKVE8 GIwISlj8SSbmoSNMRgfoADBiCurDNlh3rMTeuWKMNREAX+x0EsoOBVgHZ3qS+vqP ZixdoJfhP2OPm1LMWiUN =0DlV -----END PGP SIGNATURE-----