>In one program I run for a Northern California company, I use the #INCLUDE directive to include a file called CONSTANTS.H, which contains only one constant,
>
>#DEFINE CRLF CHR(13) + CHR(10)
>
>
>When I use this same code in my same client, but for another location here in Southern California, and when the code begins to execute the CRLF Constant, the program does not know how to interpret what CRLF is. The code in both places is separate and sligthtly different.
For preprocessor directives, the inclusion actually occurs at compile time, not run time; so, given that the code is slightly different, I'd check the code for the app that doesn't work for these two usual suspects:
-- the .h file is available in the directory or PATH setting when the exe is compiled
-- the necessary programs/classes have #include'd the .h file appropriately. [my typical gremlin]
HTH
Insanity: Doing the same thing over and over and expecting different results.