Solved

Extracting tlb from unmanaged dll.

Posted on 2013-01-15
5
1,523 Views
Last Modified: 2013-01-16
I have third party unmanaged dll. I need to extract tlb from it. Is it possible?
0
Comment
Question by:MrunalM
  • 3
5 Comments
 
LVL 22

Accepted Solution

by:
ambience earned 200 total points
ID: 38778540
Most probably the tlb is stored in the dll as a resource. If you have visual studio open the dll and select the open type to be Resources. That way you can view the TLIB resource section and export from it. Some versions of VS dont support this, but it used to work with VC6 for example. I guess the Express editions dont provide resource editing.

BTW, a simpler way that might work is to use 7-zip to extract the dll and find the tlb there. I havent tried it for TLB but it works for other resources like icons.
1
 
LVL 86

Assisted Solution

by:jkr
jkr earned 200 total points
ID: 38778716
You could use the "OLE/COM Object Viewer" (oleview.exe) that ships with Visual Studio to extract the TLB.
0
 

Author Closing Comment

by:MrunalM
ID: 38781362
Both of these ways are correct but I am looking for a command like tlbexp (which work only for managed DLL) becuase I want to extract tlb at runtime and use it.
0
 
LVL 22

Expert Comment

by:ambience
ID: 38782678
you can use 7zip exe or dll (SDK) for that.
1
 
LVL 22

Expert Comment

by:ambience
ID: 38782681
And as a last resort, write some code to  extract it.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now