said:
>Finally got it working. EXPLORE.EXE (WebExplorer) is self-contained and
>doesn't need to be run from its home directory *but* all the other
>browsers *do* need to be run from their home directories.
That's not quite it. The DLL's need to be available via LIBPATH. Since
most LIBPATH's contain a reference to the current directory (i.e. '.'),
starting the app from the current directory will work. If you add the
home directory to LIBPATH, you will be able to run the app from any
directory. If you remove the '.' from LIBPATH, you won't even be able to
run the app from the home directory.
For example, using my install locations:
set beginlibpath=d:\internet\mozilla\bin
cd \
d:\internet\mozilla\bin\mozilla
will start Mozilla without problems since it has the effect of making the
DLL's available via LIBPATH.
>So I also had to update the Working Directory field on the Properties
>Browser page and then click Set Default. I didn't set this originally
>because I saw that WebExplorer didn't have it set.
Yes, that's another option.
>Thanks for the help on this. I think there's a call that returns the
>complete path of a running executable so it can determine where it loaded
>from, but obviously Mozilla and its friends aren't doing this.
No, that's not the problem. See above. The applications do query and use
the home directory. However, this is ineffective when the application is
linked to DLL's in the home directory. When the loader can't find the
DLL's the app will not load.
Steven
--
---------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.31a #10183 Warp4/FP15/14.085_W4
www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST)
---------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 30 |
August |
2002 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.