Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To INCLUDE or Not to INCLUDE
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01513212
Message ID:
01513226
Views:
93
Does he compile after CLEAR ALL in the Command Window?

>Hi Gang!
>
>In our code here, there is this line of code in 7 different PRG's...
>
>
>#INCLUDE gcPath + "\L_FOX.H"
>
>
>And when I compile the code to create an EXE, I get the following error....
>
>"Compile error in blah blah blah.....APP"
>
>and in the blahblah.ERR file I find...
>
>
>Compiling c:\pharmacy\class libraries\forms\forms_patient.vcx
>#INCLUDE gcPath + "\L_FOX.H"
>Error in line 32 of frmdigipatimage.Init (record 134): File does not exist.
>#INCLUDE gcPath + "\L_FOX.H"
>Error in line 16 of frmpatientpicture.Init (record 147): File does not exist.
>
>
>and so on and so forth....
>
>I figure that, the gcPath is not defined at this time.... so I get the errors.
>
>BUTTTTTTTTTTTTTTTTTTTTTTTTT
>
>My friend, who wrote the code, DOES NOT GET these errors when he compiles the code (he says).....
>
>So, why do I get the errors and he doesn't????
>
>Thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform