Hi!
In my start.prg I put:
#INCLUDE myIncludeFile.H
Than, to check in development environment:
If Version(2) <> 0
=messagebox(ccMyConstantVar)
Endif
The include file is in the searchpath.
Sometimes VFP complains with error : variable ccMyConstantVar is not found.
Than I tried :
#INCLUDE "myIncludeFile.H" i.s.o. #INCLUDE myIncludeFile.H
That seemed to help...
But again after a while same error.
The anoying thing is that it seems to be spurious.
Than I tried just after
#INCLUDE myIncludeFile.H
=inkey(.2).
This way there is some delay before the messagebox pops up.
This now seems to help.
Anyone met this problem before?
-Bart
In my start.prg I put:
#INCLUDE myIncludeFile.H
Than, to check in development environment:
If Version(2) <> 0
=messagebox(ccMyConstantVar)
Endif
The include file is in the searchpath.
Sometimes VFP complains with error : variable ccMyConstantVar is not found.
Than I tried :
#INCLUDE "myIncludeFile.H" i.s.o. #INCLUDE myIncludeFile.H
That seemed to help...
But again after a while same error.
The anoying thing is that it seems to be spurious.
Than I tried just after
#INCLUDE myIncludeFile.H
=inkey(.2).
This way there is some delay before the messagebox pops up.
This now seems to help.
Anyone met this problem before?
-Bart