Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile issues
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01248704
Message ID:
01248743
Views:
23
If you want to avoid these errors use #IFNDEF Preprocessor Directive where you define your constants.

>This is an application originally built in VFP7 that I am rebuilding in VFP9.
>
>Compiling the project in VFP9 gives these errors.
>
>
>
>#DEFINE COMATTRIB_HIDDEN		0x40 		
>Error in line 1612 of toolbar_app.cmdNew.Click (record 67): Constant is already created with #DEFINE.
>#DEFINE COMATTRIB_NONBROWSABLE	0x400 		
>Error in line 1614 of toolbar_app.cmdNew.Click (record 67): Constant is already created with #DEFINE.
>
>
>I cannot find these #DEFINEs in the project. The COMATTRIB_HIDDEN is mentioned in the Help file but it doesn't help much.
>
>How can I fix these errors?
>
>Also, what is the record number in the error message above? The class contains 37 records, so record 67 cannot be a record there.
>
>Cyril
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform