Solved

Is there a way not to use IE dll?

Posted on 2000-05-11
13
180 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
Comment Utility
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
Comment Utility
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
Comment Utility
anyway,i compile my app. with static lib.
 
0
 
LVL 1

Expert Comment

by:lar_jens
Comment Utility
ie = internet explorer??
0
 

Author Comment

by:raymondwee
Comment Utility
yes,  ie = internet explorer
0
 
LVL 1

Expert Comment

by:yarond
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:raymondwee
Comment Utility
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
Comment Utility
Adjusted points from 50 to 80
0
 
LVL 1

Expert Comment

by:lar_jens
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Comment accepted as answer
0
 

Author Comment

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now