General information
Category:
Forms & Form designer
There was an include file on the BASE form. That include file then included the STRINGS.H file (but the path was not hardcoded). The problem was that .... Whenever a developer would change the BASE form in any way, the STRINGS.H file would be used from that Developers path. Then everyone got that Developers constants because they had been precompiled in the BASE form. Including your own STRINGS.H file in your new form DID NOT override what the BASE form "saw" when it was compiled.
The solution: In the BASE file...Include the /COMMON/STRINGS.H and make sure the error messages (constants) are generic (project independent) Then include your own STRINGS.H file in your own form. Then your messages will pick up your constants, and the BASE forms messages will pick up the Common constants.
It ain't pretty.....but it works.....Thanks for all of your kind help. Tim
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only