Month: October 2008
-
Visual C++ 10 和 MFC 10的新特性
Boris Jabes 和Damien Watkins将会在PDC上演示Visual C++10中的新功能。IDE的新功能包括基于SQL Compact的智能提示、 支持自定义插件的新的项目和编译系统、面向大型应用的优化和改善的调试体验。MFC库增加了对Windows 7 中新增的多点触摸检测功能和高DPI支持,以及Windows Vista中集成的功能,例如高彩图标 、 Windows 搜索和重启管理器。Visual C++程序员们才习惯不用MFC来直接调API。 MFC是很老了,不容易学,也不优雅,但是很稳定,也有很多第三方扩展和示例支持。其他的用户界面库还有很多,但是单单用户界面并不能完成一个程序。在调用操作系统的底层功能的时候,有一个面向对象的接口还是很方便的。
-
Type ‘System.Web.UI.WebControls.Parameter’ does not have a public property named ‘DbType’
In Visual C# 2005 SP1, I added an object data source to a web page that uses my business class as the select method. The method has one parameter of type Guid. The data source wizard generates code like this <asp:Parameter DbType=”Guid” Name=”rowId” /> Although the web server has .Net 2.0 SP1 installed (I checked…