?
Solved

WinInet.dll missing in some computers?

Posted on 1999-08-02
5
Medium Priority
?
303 Views
Last Modified: 2013-11-20
I am using winInet in my app, and compile it using "use MFC in a static library".
When I try to run it on a different computer, It refuses to run giving a:
"The ... file is linked to a missing export wininet.dll - HttpEndRquestA." error.
What should I do to include this dll in my app? - or any other solution.
Thanks
0
Comment
Question by:gilbert_chang
[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
5 Comments
 
LVL 4

Expert Comment

by:nil_dib
ID: 1312265
if you use an installation program like installshield you can copy the dll during the installation process ...

0
 

Author Comment

by:gilbert_chang
ID: 1312266
Yea - but that will add another 449K to the weight of my app.
Is there some kind of basic problem here? Are there some cases in which this dll is missing (old versions of Windows, etc.)?
Thanks.
0
 

Accepted Solution

by:
jaguar_sri earned 100 total points
ID: 1312267
Ofcourse the dlls depend on the windows version you are using. But the dlls specific to MFC come along with the VC++
installation done on your machine.
Now for the problem of non-protability i.e., inability of your application to run on a different machine using Installshield or any such may be a good solution.

But still if you simply copy that dll , then in most cases a dll may call another dll and so on.
Even worse than this, dlls versions keep on changing so you cannot copy all dlls just like that without trouble.
So my advice is sort out for which version of windows your application is meant to work in and then use a installation tool.

BECAUSE A GOOD PORTABLE APPLICATION IS MEANT TO RUN ON SYSTEMS WITH ONLY THE OS AND NOT ENTIRE STUDIO.
0
 

Author Comment

by:gilbert_chang
ID: 1312268
I just want to know how to solve the problem without including the dll in the distribution package. How do I compile it into my app?
0
 

Expert Comment

by:mmachie
ID: 1312269
here's something from msj 'under the hood' column

"...Microsoft Internet Explorer (IE) 3.0x uses WININET.DLL—a Win32® system DLL that provides a high-level layer over the HTTP, FTP, and Gopher protocols, sparing you from the nastiness of Windows® socket programming. "

so if Matt Pietrek, the writer of the column, is correct as long as the user has ie 3.0 install the dll should be there.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

719 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