tlbexp命令 [英] tlbexp command

查看:47
本文介绍了tlbexp命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我发现我们可以使用tlbexp命令像* tlbexp< dll name> *来导出tlb

文件用于C#COM程序集,但是不能用它来导出一个

非托管C ++ COM DLL的tlb文件。这是正确的吗?


我想知道如何导出非托管C ++ COM DLL的tlb文件?

提前感谢,

George

Hello everyone,
I find that we can use tlbexp command like *tlbexp <dll name>* to export tlb
file for a C# COM assembly, but can not use it to export tlb file for an
unmanaged C++ COM DLL. Is that correct?

I am wondering how to export tlb file of an unmanaged C++ COM DLL?
thanks in advance,
George

推荐答案



" George" < Ge **** @ discuss.microsoft.com在留言新闻中写道:B3 ******************************** ** @ microsof t.com ...

"George" <Ge****@discussions.microsoft.comwrote in message news:B3**********************************@microsof t.com...

大家好,


我发现我们可以使用tlbexp命令* tlbexp< dll name> *导出tlb

文件用于C#COM程序集,但不能用它来导出tlb文件以获得一个

非托管C ++ COM DLL。那是对的吗?
Hello everyone,
I find that we can use tlbexp command like *tlbexp <dll name>* to export tlb
file for a C# COM assembly, but can not use it to export tlb file for an
unmanaged C++ COM DLL. Is that correct?



正确。

Correct.


>

我想知道如何出口tlb文件的非托管C ++ COM DLL?
>
I am wondering how to export tlb file of an unmanaged C++ COM DLL?



并非所有COM DLL都有类型库。如果存在,则它可能是单独的文件,也可能作为资源嵌入。您可以使用Oleview找到

。点击文件,查看Typelib ...并打开DLL。


Brian

Not all COM DLL''s have a type library. If one exists, it might be a separate file or it may be embedded as a resource. You can find
out by using Oleview. Click on "File", "View Typelib..." and opening the DLL.

Brian


谢谢Brian,

使用OLEView打开时本机非托管COM DLL,有一个错误

消息。

LoadTypeLib(c:\ temp \ foo.dll)失败。


加载类型库/ DLL时出错。


TYPE_E_CANTLOADLIBRARY(
Thanks Brian,
When using OLEView to open the native unmanaged COM DLL, there is an error
message.

LoadTypeLib (c:\temp\foo.dll) failed.

Error loading type library/DLL.

TYPE_E_CANTLOADLIBRARY (


80029C4A)


你知道什么是错的吗?

问候,

乔治


" Brian Muth"写道:
80029C4A)

Do you know what is wrong?
regards,
George

"Brian Muth" wrote:

>

" George" < Ge **** @ discuss.microsoft.com在留言新闻中写道:B3 ******************************** ** @ microsof t.com ...
>
"George" <Ge****@discussions.microsoft.comwrote in message news:B3**********************************@microsof t.com...

大家好,

我发现我们可以使用tlbexp命令,如* tlbexp< dll name> *导出tlb

文件用于C#COM程序集,但不能用它来导出tlb文件以获得一个

非托管C ++ COM DLL。那是对的吗?
Hello everyone,
I find that we can use tlbexp command like *tlbexp <dll name>* to export tlb
file for a C# COM assembly, but can not use it to export tlb file for an
unmanaged C++ COM DLL. Is that correct?



正确。


Correct.



我想知道如何导出非托管C ++的tlb文件COM DLL?

I am wondering how to export tlb file of an unmanaged C++ COM DLL?



并非所有COM DLL都有类型库。如果存在,则它可能是单独的文件,也可能作为资源嵌入。您可以使用Oleview找到

。点击文件,查看Typelib ...并打开DLL。


Brian


Not all COM DLL''s have a type library. If one exists, it might be a separate file or it may be embedded as a resource. You can find
out by using Oleview. Click on "File", "View Typelib..." and opening the DLL.

Brian


这篇关于tlbexp命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆