VC6.0转VS2005问题及解决办法(二)

2014-11-23 19:02:13 · 作者: · 浏览: 40
数去掉的时候,又会显示

error C2660: 'Create' : function does nottake 1 parameters19.error C2871: 'System' : a namespace with this name does notexist

原因:这个错误只能说VC编译器还不够智能啊

解决办法:在使用前需要使用Common Language Runtime Support (/clr).

在配置属性中,选择general-》选择clc (ConfigurationProperties/General/Common Language Runtime support)