>THANKS,
>Can you be more specific about compiling.
>I have #include in main.prg file and I have include in a form ( file dialog )
>
You need the INCLUDE in each independent code piece you use, and the reference to the constants in the .H must be resolved at compile time - the .H file is not available at runtime. The .H file defines constants, not variables.