Re: winetest: Skip over stub dll if detected
-----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-----
On Nov 27, 2014 3:28 AM, "Stefan Dösinger" <stefandoesinger(a)gmail.com> wrote:
+ * 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.
The apostrophe is sometimes used, but it's definitely not the preferred way.
On Thu, 27 Nov 2014 14:15:16 -0600 Austin English <austinenglish(a)gmail.com> wrote:
On Nov 27, 2014 3:28 AM, "Stefan Dösinger" <stefandoesinger(a)gmail.com> wrote:
+ * 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.
The apostrophe is sometimes used, but it's definitely not the preferred way.
Using apostrophes to pluralize abbreviations and numbers was more common in the past, but is outdated. In contemporary usage, apostrophes are for possessives and contractions, and only used to pluralize in cases where they are needed to make the meaning clear (e.g., "A's" vs "As").
participants (3)
-
Austin English -
Rosanne DiMesio -
Stefan Dösinger