Http://topic.csdn.net/u/20110725/21/1ae8e1ec-9295-45ec-acd2-5d084515a2e1.html
Http://msdn.microsoft.com/en-us/library/ee330730 (V = vs.85). aspx
The high-speed rendering mode of IE8 refers to the use of the IE8 high-speed rendering core in the compatibility mode of sogou browser after the IE8 browser is installed in your system.
If this function is not enabled, the IE8 compatibility mode is used, that is, the IE7 core. IE7 can take care of up and down compatibility. For example, some websites do not test their own compatibility issues and may not be suitable for IE8 core access.
The following code forgets who to repost. The source code comes from the network and is not self-created.
Void winapi writewebbrowserregkey (lpctstr lpkey, DWORD dwvalue) {hkey HK; cstring STR = "SOFTWARE \ Microsoft \ Internet Explorer \ main \ featurecontrol \\"; STR + = lpkey; If (regcreatekey (HKEY_LOCAL_MACHINE, STR, & HK )! = 0) {MessageBox (null, "An error occurred while opening the registry! "," Error ", 0); exitprocess (-1);} If (regsetvalueex (HK," test.exe ", null, REG_DWORD, (const byte *) & dwvalue, 4 )! = 0) {regclosekey (HK); MessageBox (null, "An error occurred while writing the registry! "," Error ", 0); exitprocess (-1);} regclosekey (HK );}
WriteWebBrowserRegKey("FEATURE_BROWSER_EMULATION",9000); WriteWebBrowserRegKey("FEATURE_ACTIVEX_REPURPOSEDETECTION",1); WriteWebBrowserRegKey("FEATURE_BLOCK_LMZ_IMG",1); WriteWebBrowserRegKey("FEATURE_BLOCK_LMZ_OBJECT",1); WriteWebBrowserRegKey("FEATURE_BLOCK_LMZ_SCRIPT",1); WriteWebBrowserRegKey("FEATURE_Cross_Domain_Redirect_Mitigation",1); WriteWebBrowserRegKey("FEATURE_ENABLE_SCRIPT_PASTE_URLACTION_IF_PROMPT",1); WriteWebBrowserRegKey("FEATURE_LOCALMACHINE_LOCKDOWN",1); WriteWebBrowserRegKey("FEATURE_GPU_RENDERING",1);
Above the registry key value, go to the http://msdn.microsoft.com/en-us/ here to search.