由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - how to import C# .net DLL in VC6?
相关主题
How to compile multiple file using vbc?CE.Net 4.2 question
error of compiling C# in visual studion 2013 win 7 (转载)修改.dll文件
how to debug managed dll when called from unmanaged codeunderstand ASP .Net 2: ASP .Net vs ATL Server
c#有没有第三方地免费解释器?How to make Internet Explorer Toolbar?
.net 2003竟然不支持类中静态变量Re: DotNetNuke2.04, Could you pls expla
麻烦大家帮忙看看:cannot find dependency用DLL会快些吗?
a question about C++.net class library怎么写多语言的程序?
混合语言编程how to use old DLL in VB .NET?
相关话题的讨论汇总
话题: c#话题: dll话题: vc6话题: import话题: net
进入DotNet版参与讨论
1 (共1页)
t******r
发帖数: 183
1
rt, thanks.
m*******n
发帖数: 154
2
basically impossible.

【在 t******r 的大作中提到】
: rt, thanks.
k****i
发帖数: 1072
3
you need to expose the managed code a COM object.
You can generate the typelibrary from the metadata contained in the C#
assembly using regasm or tlbexp 【 在 tinybear (家家女巫) 的大作中提到: 】
t******r
发帖数: 183
4
Yeah, I did that, and generated .tlb file, and imported it, using the smart
pointer as well, but i still can't make it work. The compiling was fine, but
the program breaks at creating a COM instance.

【在 k****i 的大作中提到】
: you need to expose the managed code a COM object.
: You can generate the typelibrary from the metadata contained in the C#
: assembly using regasm or tlbexp 【 在 tinybear (家家女巫) 的大作中提到: 】

k****i
发帖数: 1072
5
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/
cpconcallingnetobject.asp

【在 t******r 的大作中提到】
: Yeah, I did that, and generated .tlb file, and imported it, using the smart
: pointer as well, but i still can't make it work. The compiling was fine, but
: the program breaks at creating a COM instance.

z*****e
发帖数: 1
1 (共1页)
进入DotNet版参与讨论
相关主题
how to use old DLL in VB .NET?.net 2003竟然不支持类中静态变量
[solved] Re: use old DLL in VB .NET?麻烦大家帮忙看看:cannot find dependency
CrystalReport 问题a question about C++.net class library
如何注销一个顽固留在内存的DLL?混合语言编程
How to compile multiple file using vbc?CE.Net 4.2 question
error of compiling C# in visual studion 2013 win 7 (转载)修改.dll文件
how to debug managed dll when called from unmanaged codeunderstand ASP .Net 2: ASP .Net vs ATL Server
c#有没有第三方地免费解释器?How to make Internet Explorer Toolbar?
相关话题的讨论汇总
话题: c#话题: dll话题: vc6话题: import话题: net