Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tell the user to download KB2533623 if DLL injection failed.
Another cause for DLL injection failure, and hopefully the last one. The LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR flag of LoadLibraryEx is unsupported on Windows XP, but the function works just fine otherwise. However, on Windows Vista and 7 installations *without* KB2533623 installed, the function just outright fails entirely if that flag is given. As a result, f4b1db7 broke thcrap for pretty much everyone who hasn't updated their Windows Vista or 7 since KB2533623 was published in 2011. Working around this issue is both painful and counter-productive (keep your systems updated, will you!). Thus, we just tell people to get that specific system update instead. Of course we could have only mentioned that update if the user actually *is* running Vista or 7. However, with Windows 8.1, GetVersionInfoEx() was deprecated and replaced by the new Version Helper APIs (http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx). These are, of course, exclusively available in the Windows 8.1 SDK, which I have been failing to integrate into my build environment.
- Loading branch information