Hey,
We have a .NET assembly (Aspose.Words actually) and we want clients to use it from COM clients without much hassle.
So we ship a .TLB with the assembly so the client can use it from languages such as C++ or Delphi and don't bother extracting .TLB themselves.
We also ship an .IDL with the assembly so the clients can look into it if they want to see the enumeration values if they are programming in ASP for example.
I want .TLB and .IDL to be generated by a build script. I can generate .TLB no problems. But I cannot generate .IDL (or as an alternative convert .TLB to .IDL) in a command line. I do this manually using OLEVIEW.EXE which is not nice.
Heard about Delphi's TLIBIMP.EXE sounds like it could do that, but it does not seem to be available separately.
So the questions are:
Anything from the above sounds stupid?
How to get .IDL from a .NET assembly using a command line.
Thanks.