Oscar,
>I need to #DEFINE a couple of constants which are to be used throughout the application and procedures. I’ve realized that when defining this constants into the Appincl.h file, the database’s stored procedures are not aware of such constant definitions.
>
>Of course I do not want to populate the framework include files with application specific constants and I’m guessing that #INCLUDE(ing) Framincl.h into the stored procedures might not be a safe idea because it appears to be a cyclic situation (stored procedures #INCLUDE Framewrk.h).
I recommend placing your application-specific constants in Appincl.h, then adding the following line to your database's stored procedures to include Appincl.h:
#INCLUDE '..\Include\Appincl.h'
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com