Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why include file needs to trefresh?

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Hi!

I have a include-file bound to a form.
Out of the blues the include-file caused an error when building an application. (vars from th eionclude file where not found at runtime).
After I released and attached the include file again and did another build all worked as normal.
Any idea why this could happen ?

using XP-home with VFP8

Tia
-Bart
 
If you change the include file the form is not recompiled in all cases, so definitions made in the changed include file may not be known.

The best way should be to explicitly COMPILE ...scx or ...vcx after a .H-File is changed.

Keep in mind, it's all preprocessor directives, so this is quite detached from the compiled form or classlib.

Bye, Olaf.
 
Hi Olaf,
Thanks for your reply.
Th esilly thing is that as far as I know the include file has not been changed.....
-Bart
 
* shrug *

If the runtime complains about undefined constants or the like, there once must have been changes to the include file that weren't compiled into the objectcode portion of the SCX.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top