Solved

Extracting tlb from unmanaged dll.

Posted on 2013-01-15
5
1,487 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
you can use 7zip exe or dll (SDK) for that.
1
 
LVL 22

Expert Comment

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

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

763 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

7 Experts available now in Live!

Get 1:1 Help Now