staggart
asked on
PP Namespace Question
I am having a problem with PP namespaces. When I create a project using standard Pro4 project stationary and build this project, I can reference PP classes directly with no namespace qualifier. For example, I can write:
RegisterClass_(LWindow);
(i.e., no "PP::" in front of the LWindow class name.)
However (and this is my question/problem), I have a project that came with Pro4 that is a debugging sample (specifically, "Debugging Classes Demo"). Everywhere I reference a PP class, I must prefix it with "PP::" OR put "PP_Begin_Namespace_PowerP lant/PP_En d_Namespac e_PowerPla nt" pairs around my code. This is annoying and causes other problems (such as references to unqualified, global functions are now messed up). In the projects where I do NOT have to prefix with PP:: I see nothing different than in this debug project settings or include files I am having problems with.
Any ideas on why some projects are different than others in this namespace respect? Is there a project setting or some magic define somewhere that is in the stationary projects that is not set in this debug project?
Thanks,
Scott
Taggart@taggarts.org
RegisterClass_(LWindow);
(i.e., no "PP::" in front of the LWindow class name.)
However (and this is my question/problem), I have a project that came with Pro4 that is a debugging sample (specifically, "Debugging Classes Demo"). Everywhere I reference a PP class, I must prefix it with "PP::" OR put "PP_Begin_Namespace_PowerP
Any ideas on why some projects are different than others in this namespace respect? Is there a project setting or some magic define somewhere that is in the stationary projects that is not set in this debug project?
Thanks,
Scott
Taggart@taggarts.org
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER