Set Windows to use BIOS time as UTC timezone

为了和Linux以及Mac OS X兼容,将windows的注册表稍微修改一下,让windows可以将BIOS时间按照UTC时间来读取。然后在系统中修正为当前时区来显示。 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] “RealTimeIsUniversal”=dword:00000001 修改好了需要重启Windows.

Windows中内存分配方法比较

The following is a brief comparison of the various memory allocation methods: CoTaskMemAlloc GlobalAlloc HeapAlloc LocalAlloc malloc new VirtualAlloc Although the GlobalAlloc, LocalAlloc, and HeapAlloc functions ultimately allocate memory from the same heap, each provides a slightly different set of functionality. For example, HeapAlloc can be instructed to raise an exception if memory could not be allocated, a capability not available… Continue reading Windows中内存分配方法比较

修改Windows的默认调试器

????????Crash??Windows?????????? ???????Win98??????Dr.Watson??????Win7????Error reporting???XP????????????????????????? ????????????????????????????????Crash????????????????????crash???????????????? ???? 32????HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger 64????HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger win7??????”C:\Windows\system32\vsjitdebugger.exe” -p %ld -e %ld ???VC6???? “C:\Program Files (x86)\VC6SP6Ultim\Common\MSDev98\Bin\msdev.exe” -p %ld -e %ld ??.NET??????????? 32????HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger 64????HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger