using VCCodeNamespace in cpp file..

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi im
trying to write a custom class wizard from the standard c++ class
wizard. ( and i am running into trouble in the javascripting, and
understanding of the vcCodemodel, I guess)
so I have some questions:

a) I want a namespace to be used in h and cpp file, but i want the cpp
to be 'using namespace dummyNS;' but i cannot figure out how to add it
for some odd reason. ///VCCodeNamespace

b) how to add some text (copyright and some macro calls ) to the cpp
file?

c) how to add an extra #include to the cppfile

d) remove the commenting on functions in the cppfile, when I use the
VCCodeFunction objects,
Comment operation

thanks for any awnser.
( and it is a wizard to introduce a cppunit testcase class)

kenneth
.



Relevant Pages

  • problems with adding new functions using wizard
    ... imagine i want to add a virtual function or a message handler using the ... wizard uses .h file from the first project and .cpp from the other project, ... first project's .h file into the .cpp from the other one. ... aplications are in one solution and thus i cannot use the wizard. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Class Wizard funkiness
    ... dialog resource can not be linked to the .cpp and .h file by class wizard. ... > creating the ClassWizard database?" ...
    (microsoft.public.vc.mfc)
  • Re: class wizard broken
    ... "Kurt" wrote in ... > information but does not create the cpp & h file. ... I'm assuming this is the "Generic Class" wizard? ... This posting is provided "AS IS" with no warranties, and confers ...
    (microsoft.public.dotnet.languages.vc)
  • adding files to projects
    ... I have to create a project using custom wizard.I need a .cpp file in that wizard by default.Please give me some instruction to solve this problem ...
    (microsoft.public.vc.mfc)