????????????д64λ????????????
???????????? ???????[ 2014/2/11 15:25:21 ] ????????Web???? ????????? ????
????32λ????????64λ???????????????
??????????????32λ?????????????????? ??????64λ???????в??????
?????????????32λ??64λ???? ??64λ????????У? ????????32λ????ó????64λ????ó???
?????????64λ???????а??32λ????ó??? ?????C??Program Files(x86)??? ???????????????????32λ??????????????????? ”*32“?? ???????
??????? 64λ????????:
????64λ?????????????? HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet Explorer
????32λ???????????????? HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftInternet Explorer
????C#???????64λ????????????
????C#???????32λ????????????????????HKEY_LOCAL_MACHINESOFTWAREWow6432Node?? ?????????HKEY_LOCAL_MACHINESOFTWARE
????.NET 3.5??? C#??????????Win32API???????д?????д??????????64λ?????????????
????.NET 4.0 ?????64λ?????????????????
static void Main(string[] args)
{
// ???64λ????????????
// ???IE?????
// ???RegistryView ???????64λ??????????32λ
RegistryKey localKey = RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive.CurrentUser?? RegistryView.Registry64);
localKey = localKey.OpenSubKey(@"SOFTWAREMicrosoftInternet ExplorerMain"?? true);
if (localKey != null)
{
localKey.SetValue("Start Page"?? "http://www.cnblogs.com");
}
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11