Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Chrome Early Loading Framework (aka ChromeELF) | |
| 2 | |
| 3 chrome_elf.dll is shipped in Chrome's version directory to ease updates, | |
| 4 and is loaded early in chrome.exe's lifetime. This is done by making it a | |
| 5 private assembly in a subfolder of chrome.exe's folder (see | |
| 6 http://msdn.microsoft.com/library/aa374224.aspx). | |
| 7 | |
| 8 In an ideal world, this would be done by embedding an application config in | |
| 9 chrome.exe that would refer to the proper version directory via a | |
| 10 probing\privatePath attribute (http://msdn.microsoft.com/library/aa374182.aspx). | |
| 11 This would allow us to refer to dlls in the version directory without having to | |
| 12 make the version directory itself into an assembly. Unfortunately, this | |
| 13 method is only supported for Windows 7 and later. | |
| 14 | |
| 15 Instead, we use "Assembly Searching Sequence" | |
| 16 (http://msdn.microsoft.com/library/aa374224.aspx) which states that private | |
| 17 assemblies can be placed in a subfolder if that subfolder has the same name as | |
| 18 the assembly itself, and treat the version directory as a private assembly. | |
| 19 | |
| 20 This is the best way to have chrome.exe find chrome_elf.dll at load-time without | |
| 21 putting it besides chrome.exe in the application directory. | |
|
grt (UTC plus 2)
2013/11/07 03:04:23
besides -> beside
| |
| OLD | NEW |