[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Is there a way not to use IE dll?

Posted on 2000-05-11
13
Medium Priority
?
192 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
[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
  • 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
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!

 
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 240 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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 video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

656 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