| Home
| Previous
| Next
| Up

### Runtime Library Standard Locations

In order to be able to use the SciTech SNAP Graphics Architecture, the library must be dynamically loaded and initialized with a driver specific to the installed hardware loaded into memory. The SciTech SNAP Graphics Architecture interface library (n_ga.lib) contains the code necessary to load and initialize the Binary Portable DLL, and provide access to the internal functions. This library is provided in source code form and has support for popular operating systems and compilers. All the loader library code is pure ANSI C code, so should be portable to any operating system and CPU family.

Drivers for the SciTech SNAP Graphics Architecture are generally located in the following standard locations on the end users system:

Operating System | Default Directory Location
MSDOS | c:\snap\drivers
Windows 95/98 | c:\windows\system\snap
Windows NT | c:\winnt\system32\snap
OS/2 | c:\os2\drivers\snap
Linux | /usr/lib/snap
QNX 4.x | /qnx4/snap/bin
QNX 6.x | /nto/snap/<arch>/bin

In many cases the above directories are relative to the operating system root directory, so the drive letters may be different depending on how the operating system was installed. Note also that the user may set the SNAP_PATH environment variable and the loader library will check in this directory for the driver file(s). If the driver cannot be found in the global device driver directory, the loader library will also look in the current directory so that applications may ship OEM versions of the drivers local to their application.

Note also that the locations for the Windows and OS/2 operating systems are in the standard device driver directories, and may not necessarily be located in the c:\windows or c:\os2 directories.

For On Time RTTarget-32 target system without RTFiles-32 filesystem support, the SNAP Graphics BPD files will be bound into the RTB binary image, so it is entirely optional whether you use file paths or not. Refer to the example RTTarget-32 configuration files provided with SNAP and MGL demos courtesy of On Time Informatik.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com