-1

我有一个想要使用的 COM 应用程序,但我只有该应用程序的 .exe。有没有办法从那个.exe中提取.tlb?我尝试使用tlbexp filename.exeVisual Studio 命令提示符,但出现错误,我不知道为什么:TlbExp : error TX0000 : Exception of type 'System.OutOfMemoryException' was thrown. 我正在使用带有 C++ 的 Visual Studio 2012。

编辑:

.exe 是用 C++ 编写的,后来我看到 tlbexp 是用于 .NET 的。这就是它不起作用的原因,很抱歉造成混乱。我仍然需要找到一种从 C++ .exe 中提取 .tlb 的方法。

4

1 回答 1

-1

I have used this utility https://www.nirsoft.net/utils/resources_extract.html Just check the type libraries option. It does now work on all cases but it works for many dlls and exe

于 2020-12-30T21:41:45.440 回答