Solved

Compile the Wininet.LIB into MYDLL.DLL

Posted on 1998-03-11
1
268 Views
Last Modified: 2006-11-17
Wininet.dll (from IE4.0, file date after 9/14/97, version 4.71 and after) is not comptatible alone with previous versions of IE (and may be Netscape). So I cannot put this file in my Setup project, but I need its functions.
May idea is to recompile the file Wininet.LIB (file date after 11/13/97) into a DLL that will be exactly the same than Wininet.DLL but with a different name (let's say Inet2.dll). So my program will be the only one to call this DLL and all IEs will continue to work.
Can someone do that for me (or explain me how to do it in VisualC++ 5.0 but I am very new to C++, so I need a very detailed explanation) ?
my email: chiarelli@calva.net
Thanks
Antoine Chiarelli
0
Comment
Question by:chiarelli1
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1183344
The Wininet.LIB is just an import library, which does not have the actual code. The actual code is inside Wininet.dll. So you cannot compile it into a dll. In your case, the recommended way is to require IE4 installed in order to run your application. The other way is to rename Wininet.dll to mydll.dll and use implib32 (http://www.geocities.com/SiliconValley/5806) to generate the mydll.lib and link with it. I am not sure if this will cause any conflict w/o IE4 installed. Also, I am not sure if this will cause any copyright problem.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

863 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

25 Experts available now in Live!

Get 1:1 Help Now