Solved

How to create a .dll when all I have is .lib file?

Posted on 1998-12-23
2
277 Views
Last Modified: 2010-04-01
I started to develop a software that would extract user data from certificates and I use COM technology as specified in MSDN Library examples on the Web. The problem is that I use Certcli 1.0 Type Library which got registered via VB 5.0 add reference. But in registry there is no reference registered and there is also no .dll for use as it should be in order for COM CoCreateInstance to work. (Just imagine you want to use GetConfig method from CertConfig interface) When the program runs CoCreateInstance fails as expected. All I have is a few .tlb files and Certidl.lib. How can I create a dll from that file. Is it even possible.

Since Microsoft published quite many examples and all of them follow the same principle I assume there must be a way or to create a .dll or download it from someplace.

This is awfully urgent to me. I'll start with 400 points and will give up to 800. Depends how much additional info you will supply. Please be as descriptive as  possible.
0
Comment
Question by:Nitemare
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1180936
Take a look with a tool called dumpbin or implib (search altavista to find it). See if it exports any functions.

With com classes. If you can reference it from VB, you should be able to see it in the Object Browser. Press F2.
0
 
LVL 1

Accepted Solution

by:
arunprakash earned 400 total points
ID: 1180937
I think u can get it by creating the wrapper classes from the Type library through the class wizard.. I have dont that long time back.
Select create new class from file option.


Write to me if it works,
thanx,
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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 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.

627 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