-----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.
On Nov 27, 2014 3:28 AM, "Stefan Dösinger" stefandoesinger@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@gmail.com wrote:
On Nov 27, 2014 3:28 AM, "Stefan Dösinger" stefandoesinger@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").