|
|
|
|
The following guidelines are provided for writing SNAP-IX applications so that they will be portable to other environments:
Include the CSV header file without any path name prefix. Use include options on the compiler to locate the file (refer to the appropriate section for your operating system, earlier in this chapter) This enables the application to be used in an environment with a different file system.
Use the symbolic constant names for parameter values and return codes, not the numeric values shown in the header file; this ensures that the correct value will be used regardless of the way these values are stored in memory.
Include a check for return codes other than those applicable
to your current operating system (for example
using a default
case in a switch statement), and provide appropriate
diagnostics.
Ensure that any parameters shown as reserved are set to 0.
|
|
|
|
|