Solved

Compile the Wininet.LIB into MYDLL.DLL

Posted on 1998-03-11
1
276 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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…
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.

623 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