Link to home
Start Free TrialLog in
Avatar of raymondwee
raymondwee

asked on

Is there a way not to use IE dll?

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.

Avatar of yarond
yarond

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.
Avatar of raymondwee

ASKER

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.
anyway,i compile my app. with static lib.
 
ie = internet explorer??
yes,  ie = internet explorer
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...
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?

Adjusted points from 50 to 80
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?
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...
ASKER CERTIFIED SOLUTION
Avatar of yarond
yarond

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Comment accepted as answer
I have decided to program in win32.
That should solve the problem.
Thx