Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Compile the Wininet.LIB into MYDLL.DLL

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

722 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