Dmitry,
>I understand now. Thank you.
FWIW the #include needs to happen in every source code file that references any of the items #defined in the file. Since it's a compile time feature you can't put it in the main and expect that all of the other PRGs and VCX/SCXes have access to the items in the .h file.
In a visual classlib if you set the Class/Include file item all the methods of the class can see the #defines. If you #include in a method, only that method can see them.