English

FAQ: What order does the startup of the Arcview application read and load files?

Question

What order does the startup of the Arcview application read and load files?

Answer

The following is the order of the Startup process:

1. Increase file handle count to 255 (Note: function does not work under
Win32s.)

2. Set locale to "C"

3. Set $AVHOME environment variable based on location of arcview.exe program

4. Initialize Neuron Data's libraries. Load ND .dat files

5. Check serial number ($AVHOME/etc/serno)

6. Check timeout date

7. Run startup script

8. Load default codepage

9. Load default.apr

10. Load $HOME/default.apr if present

11. Run Appl.Initialize script

12. Enter main event loop

13. Process garbage collection

14. Check hardware key for hardware key enabled version

15. Exit main event loop

On program load, the following shared libraries get loaded:

Neuron Data libraries/DLLs

ndcore.dll
ndres.dll
ndvgm.dll
ndtkit.dll
ndgw.dll

PC
---------------
mtch.dll
gdi32.dll
comdlg32.dll
kernel32.dll
user32.dll
mpr.dll
winmm.dll
msvcrt20.dll

Sunos HP Solaris
--------------- -------------- -------------
libaicore.so.3.0 libaicore.sl libaicore.so
libmtch.so.3.0 libmtch.sl libmtch.so
libavbase.so.7.1 libavbase.sl libavbase.so
libavfeat.so.7.1 libavfeat.sl libavfeat.so
libavgridio.so.7.1 libavgridio.sl libavgridio.so
libX11.so.4.3 libX11.sl libX11.so.4
libdl.so.1.0 libdld.sl libelf.so.1
libcps.so.1.0 libcl.sl librpcsoc.so.1
libc.so.1.8 libc.sl libsocket.so.1
libnls.so.1
libdl.so.1
libc.so.1
libXext.so.0
libw.so.1
libintl.so.1
libmp.so.1

IBM OSF SGI DG
--------------- -------------- ------------- -------------
libaicore.a libaicore.so libaicore.so libaicore.so
libmtch.a libmtch.so libmtch.so libmtch.so
libavbase.a libavbase.so libavbase.so libavbase.so
libavfeat.a libavfeat.so libavfeat.so libavfeat.so
libavgridio.a libavgridio.so libavgridio.so libavgridio.so
libX11.a libots.so libX11.so libX11.so.2
libXt.a libc.so libftn.so libXt.so.2
libsvld.a libm.so libXm.so.2
libc.a libc.so libdgc.so.1
libbsd.a libc.so.1

On program execution, the following OI resource files (.dat) get loaded:

$AVHOME/lib/ndcore.dat
$AVHOME/lib/ndres.dat
$AVHOME/lib/nd.dat
$AVHOME/lib/ndvgm.dat
$AVHOME/lib/ndtkit.dat
$AVHOME/lib/ndgw.dat
$AVHOME/lib/avkit.dat
$AVHOME/lib/avcore.dat