What part of Windows is written in .Net/WPF/Silverlight?
user 曹一聪 on zhihu is curious how widely .Net is used within Windows components. Obviously an operating system component cannot depend on something that isn’t in the operating system, so nothing uses Silverlight in the desktop version Windows. And because XP editions mostly did not ship with any .Net framework version, practically nothing from the XP days…
Book review: Mastering Windows 8 C++ App Development
Disclaimer: I am a Microsoft MVP in Visual C++, so is Pavel Yosifovich, the author of the book. Mastering Windows 8 C++ App Development by Pavel Yosifovich is a new addition to the Windows Store development books. It took me a while to read (304 pages) but is well worth the time from the perspective…
More ADO issues with KB983246/Windows 7 SP1: a reference count leaking when event is used
Update: Microsoft fixed the issue in Windows 8. User Angus Robertson is reporting that in an application that references ADO 2.1 type library and getting records using the adAsyncExecute method, each execute call leaks three handles and about 20K of memory. A fix is promised in a future version of windows but since MDAC is an in-band OS component,…
Microsoft MVP again
Image by EJeffson via Flickr The award email is almost identical to last year’s, so I assume Microsoft would go greener and more renewable with the Microsoft MVP award program each year, maybe that’s the reason I got a frosted glass lug instead of a trophy like previous years. The dangling cards on the right…
In this post, there are several things programmer complain their predecessor hundreds of forms named form1,form2, etc No design document and no comment, or writing comment in Japanese in critical modules Does not know how to use loop to reduce hundreds of lines to a few lines name variables like aa,bb,cc, etc Pretend to know…
Visual Studio 2010: Class Wizard重返Visual C++… Control Shift X.
在消失4个版本之后，类向导终于重返Visual C++。新的功能：搜索现在可以部分匹配而不是从字符串开始匹配。 测试版还是存在一些问题，向导不是总能找到现存的函数，以致删除函数功能不是总有效。在打开很多文档的时候尝试打开Class Wizard会出现“value does not fall in expected range” 错误。再就是性能问题，打开的文档越多，类向导启动所需的时间就越长。
Make the webbrowser control styled the same way as the hosting application
User wtx_sonery wants to know whether it is possible to style the webbrowser control with the rest of the application. The answer is yes, you can implement IDocHostUIHandler’s GetHostInfo method and return DOCHOSTUIFLAG_THEME in the host flags. IDocHostUIHandler is already implemented in MFC and ATL. For MFC there are CHtmlControlSite and CBrowserControlSite but you should…
How to disable navigation sound in webbrowser control
User kill211 does not like the click sound when he calls WebBrowser.Navigate. He wonders if there is a way to disable it without modifying HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating, which has effect on other applications. Unfortunately, the API for disabling sound is introduced in IE7. The FEATURE_DISABLE_NAVIGATION_SOUNDS feature can be toggled using registry or the CoInternetSetFeatureEnabled API. Update: A…
the Windows Server 2008 SP2 and Windows Vista SP2 Beta program has concluded.
Nice run uninstalling pre-release SP and installing the RTM version…
Talking about Windows XP APIs