Hi John,
The scope of the header (#INCLUDE) file is the .PRG, Class or form where it's included. The header files included into main programm wouldn't be applied to your class. Somethin else going on on your application.
>Hi,
>What is the scope of header file?
>
>I face a weird case here.
>My main.prg
>
>#INCLUDE 'INCLUDE\appincl.h'
>
>
>My class.vcx include 'INCLUDE\framincl.h'
>
>I get error '
is not found' when I run my program. However, if I add
>>#INCLUDE 'INCLUDE\appincl.h'
>#INCLUDE 'INCLUDE\framincl.h'
>
>
>to my main.prg then my class will work fine.
>
>Any ideas?
>
>Thank you
--sb--