Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scope of header file
Message
 
 
To
11/03/2004 07:22:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00885138
Message ID:
00885148
Views:
10
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform