Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Errors when recompiling in VFP8
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Errors when recompiling in VFP8
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180212
Message ID:
01180212
Views:
54
I have most of my clients in VFP 9 SP2, however a couple are in VFP 8. Accordingly, if I start working on one of the VFP 8 apps, I have to do a recompile all at the outset to avoid problems (such as "Property ANCHOR not found"). But I get a strange error that is difficult to overcome and I'm wondering if others have seen it.

I have an INCLUDE file that contains the following lines:
#DEFINE TB_PROPERTIES_LOC    "Properties" 
#DEFINE TB_DOCVIEW_LOC       "Document View" 
This is from STRINGS.H as supplied by MS. When I recompile in VFP 8 after compiling in VFP 9 (in other words, I do a "recompile all" on some other app in VFP 9), I get an error during compilation that says "GetString not found". It claims it's in a particular VCX, but I can't find it. Then when I start the app it says TB_PROPERTIES_LOC and TB_DOCVIEW_LOC are undefined. I've seen this before and I can get past it, however it's a pain and I'm not sure what action really gets me past it. What I do is go into STRINGS.H and change it. I also do a COMPILE CLASSLIB on the VCX that it claims GetString is in. And I do a recompile all on the app. Sometimes I have to open the offending VCX and make a change and close it and then recompile it, then recompile the app. With enough of this activity I can get past the error, but I haven't been able to determine an exact sequence of events that fixes the problem. It seems that when I think I've discovered it, the next time it happens that sequence does not work and I have to keep futzing around with it. Has anyone seen this and what has worked for you to get it resolved?
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Next
Reply
Map
View

Click here to load this message in the networking platform