由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - VC# com 调用 matlab 报错
相关主题
visual c++ project property设置问题A C++ puzzle for me
c# for Linux: does it work well ? (转载)小白一问:vista下面用什么C编译器?
受不了拉 - 技术发展太快!!! 学啥才不过时? (转载)怪事!VS2003遇到manifest问题。
弱弱地问,VS 2005和.NET、C#有啥关系?vs2008下c++的go to definiton 直接跳到了declaration. 怎么解决?
Beginnig visual C++ 2005后看什么?7年C的经验想转去C++开发难不难?
Visual C++ 如何高亮显示 括号匹配?真是奇了怪了,VC编译器问题?
C++: operator new 为啥要是 static的, 不是有啥影响?请教:visual studio 2008 call matlab 2008 dll问题
急问:VS2008里如何调用DLL32/64bit Fortran编译器造成的错误
相关话题的讨论汇总
话题: matlab话题: 调用话题: mlappclass话题: c#话题: com
进入Programming版参与讨论
1 (共1页)
t***e
发帖数: 446
1
visual studio 2010 下面用 reference com的方式调用 Matlab 2010a,
MLApp.MLAppClass matlab = new MLAppClass();
不知道为什么不能embed MLAppClass。
Interop type 'MLApp.MLAppClass' cannot be embedded. Use the applicable
interface instead.
同样的Matlab版本,在VS2008下面调用就能编译通过。难道我 upgrade 成VS2010还弄
出毛病了?
谢谢各位解答。
c**t
发帖数: 2744
2
default framework using .net 4 client profile?

【在 t***e 的大作中提到】
: visual studio 2010 下面用 reference com的方式调用 Matlab 2010a,
: MLApp.MLAppClass matlab = new MLAppClass();
: 不知道为什么不能embed MLAppClass。
: Interop type 'MLApp.MLAppClass' cannot be embedded. Use the applicable
: interface instead.
: 同样的Matlab版本,在VS2008下面调用就能编译通过。难道我 upgrade 成VS2010还弄
: 出毛病了?
: 谢谢各位解答。

t***e
发帖数: 446
3
非常感谢,改成.net 3.5就OK了,但我还是不明白为什么。

【在 c**t 的大作中提到】
: default framework using .net 4 client profile?
1 (共1页)
进入Programming版参与讨论
相关主题
32/64bit Fortran编译器造成的错误Beginnig visual C++ 2005后看什么?
programming windows求教Visual C++ 如何高亮显示 括号匹配?
VS2008用MVC模板时出错“此模板试图加载不受信任的组件”C++: operator new 为啥要是 static的, 不是有啥影响?
Windows下大家都用什么SqlConsole啊?急问:VS2008里如何调用DLL
visual c++ project property设置问题A C++ puzzle for me
c# for Linux: does it work well ? (转载)小白一问:vista下面用什么C编译器?
受不了拉 - 技术发展太快!!! 学啥才不过时? (转载)怪事!VS2003遇到manifest问题。
弱弱地问,VS 2005和.NET、C#有啥关系?vs2008下c++的go to definiton 直接跳到了declaration. 怎么解决?
相关话题的讨论汇总
话题: matlab话题: 调用话题: mlappclass话题: c#话题: com