Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为 COM 库创建 COM 包装器类。我首先使用 MIDL 将 .IDL 编译为 .TLB,然后使用 TlbImp 生成托管包装程序集。但是,我发现托管包装器中没有包含一些接口,原因是“库”部分中没有提到它们。
有没有办法让最终的托管包装程序集包含所有接口,而不是更改 .IDL 并在“库”中手动编写所有接口?