开发者

Convert/translate tbl lib idl

This might be a stupi开发者_运维技巧d question.

I have a lib file cemapi.lib that allows c++ devs to use mapi on winCE.

What i need is a tlb file so i can reference this in c#. Normally i would find the IDL and use midl to make a tlb but guess what there is no IDL.

So is there a way to get

lib to tlb lib to Idl

thanks


I do not believe there is a way to convert a plain old .lib file into a TLB. LIB files are the minimum needed by the C++ compiler / linker for linking into a larger DLL or EXE. It does not contain metadata, so to speak, and hence can't be used to create a TLB or IDL file.

You may have to hand code the interfaces into your C# application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜