Solved

Compile the Wininet.LIB into MYDLL.DLL

Posted on 1998-03-11
1
267 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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

772 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