How can I parse an unmanaged code in TLB (Of unmanaged COM server) in C#?
Asked
Active
Viewed 4,882 times
2 Answers
3
By creating a managed wrapper using tlbimp.exe.

Darin Dimitrov
- 1,023,142
- 271
- 3,287
- 2,928
-
I need to write a wrapper code in C# for extracting all types contained inside type library(unmanaged COM server's TLB) – Usman May 06 '10 at 06:22
-
No, the `tlbimp.exe` utility will generate a managed assembly from the TLB which will contain all the types that are exposed. – Darin Dimitrov May 06 '10 at 06:26
-
Then how can I be able to write such code in C# to extract all types,interfaces,exposed functions with complete signatures of that COM server whose TLB is UNMANAGED? – Usman May 06 '10 at 06:30