Solved

Is there a way not to use IE dll?

Posted on 2000-05-11
13
186 Views
Last Modified: 2013-11-20
Hi

I would like to develop an application that does not use IE dll.
Say, a text editor program with windows-like GUI.

That means without IE, my application must be able to run.

Any language that you know of?
I am quite sure MFC used dll of IE.

0
Comment
Question by:raymondwee
  • 8
  • 3
  • 2
13 Comments
 
LVL 1

Expert Comment

by:yarond
ID: 2801612
Some MFC Class may use IE DLL's, but it's specified in those classes description in MSDN. Basically anything which doesn't deal in HTML or Internet connections, will not use any DLL which comes only with IE.
MFC application can, and do, run without IE.
0
 

Author Comment

by:raymondwee
ID: 2802833
In the MSDN, I can't find where does it state any class description or whether it need IE dll.

btw, what are the ie dll? I only know that I need ie to run my application, thus I suspect it is the ie dll.

I use CEditView class for my text display part.

The rest is SDI and some calculations stuff.

So how can I know which class uses IE dll?

Thx.
0
 

Author Comment

by:raymondwee
ID: 2803235
anyway,i compile my app. with static lib.
 
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
LVL 1

Expert Comment

by:lar_jens
ID: 2804360
ie = internet explorer??
0
 

Author Comment

by:raymondwee
ID: 2805618
yes,  ie = internet explorer
0
 
LVL 1

Expert Comment

by:yarond
ID: 2808388
Usually you'll be told in the description that the class requires internet explorer to be install, or that it requires a certain version of a dll file that comes with some IE installation.
If linking statically solved your problem it's likely the problem wasn't related directly to IE. If you based it only on the fact that it worked on client computers after installation of IE, it could just be it needed some shared dll that is not IE specific but that also comes with it.
Most likely you just needed MFC dlls... This IS something that can usually be solved with a simple static link.

Two simple ways to check dependancies of your program (unless you use LoadLibrary, which these will miss) is to use QuickView on your program and check the import table, or use the Dependancy Walker which comes with DevStudio... These will show you all the DLLs that your program uses...
0
 

Author Comment

by:raymondwee
ID: 2809130
The problem is that I can't run in a client machine that does not have ie or ie4. I think that machine has ie3 though.

Even if I compile it with the static linked option in the project settings, I still can't run on my client machine.

Do you know what are the ie dll or what are the dll that i need?

when checking using "depends", dynamic ones needs less dll.

Those are the dll used when I compiled using static linking:

ADVAPI32.DLL
COMCTL32.DLL
COMDLG32.DLL
GDI32.DLL
KERNEL32.DLL
MSVCRT.DLL
NTDLL.DLL
RPCRT4.DLL
SHELL32.DLL
SHLWAPI.DLL
USER32.DLL
WINSPOOL.DRV
myappli.exe

But if I compile with dynamic linked option:

GDI32.DLL
KERNEL32.DLL
MFC42D.DLL
MSVCRTD.DLL
NTDLL.DLL
USER32.DLL
myappli.exe

is there any way that can make sure my program does not depend on any ie or external dll?

Win32 programming?

0
 

Author Comment

by:raymondwee
ID: 2809131
Adjusted points from 50 to 80
0
 
LVL 1

Expert Comment

by:lar_jens
ID: 2809806
What kind of error messages do you get when you try to run the program??

Have you tried to run the program on a machine with IE4?
0
 

Author Comment

by:raymondwee
ID: 2810221
i am not very sure  but I wil check up.

There is no problem running on a machine with ie4 and above.

I program in an environment with ie4.

will get back to that question soon...
0
 
LVL 1

Accepted Solution

by:
yarond earned 80 total points
ID: 2811577
Two things.
1. While not directly related to your probelm, the MFC DLLs you specify are DEBUG version. I assume it's not the version you put on the clients, but if it is, you'd better compile a release version before distributing.
2. All of the DLLs you specify are either MFC DLLs or Windows standard DLLs, however some of them come in newer versions with new installations of IE.
Check the MSDN for every function you call if some of the parameters you send are not listed as being relevent after a certain version. The version number refers to the DLL's version, and with it you can know if you do, or don't, use features which requires a newer version than on your clients...
0
 

Author Comment

by:raymondwee
ID: 2857776
Comment accepted as answer
0
 

Author Comment

by:raymondwee
ID: 2857777
I have decided to program in win32.
That should solve the problem.
Thx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

831 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