Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Compile the Wininet.LIB into MYDLL.DLL

Posted on 1998-03-11
1
Medium Priority
?
283 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 600 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
Suggested Courses

886 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