Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Class wizard problem

Class wizard problem

Scheduled Pinned Locked Moved C / C++ / MFC
help
4 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stv
    wrote on last edited by
    #1

    Greetings everyone!:laugh: Can anybody help me with this problem I have try to rebuild the *.clw for classwizard, but got this message for some of my class files. "a duplicate insert block exists for class ......" and class wizard cannot view the affected class information after the rebuilt. Anybody pls help!!!:omg: Tahnks you

    S O 2 Replies Last reply
    0
    • S stv

      Greetings everyone!:laugh: Can anybody help me with this problem I have try to rebuild the *.clw for classwizard, but got this message for some of my class files. "a duplicate insert block exists for class ......" and class wizard cannot view the affected class information after the rebuilt. Anybody pls help!!!:omg: Tahnks you

      S Offline
      S Offline
      Stephan Poirier
      wrote on last edited by
      #2

      Rename the *.clw file to *.bak MSDev will create a new file as soon you will try to use the Class Wizard. It will tell you that the database xxx/xxx/xxxxx/*.clw doesn't exist and ask you if you want to build it from your source files. Click yes. Then a dialog will open, select the *.cpp file that is matching with your class. That's it! Notice that later, you will probably have some messages asking you to point wich files goes with wich class. But it's very user-friendly. When all your classes within this project will been covered, you won't be asked anymore. Good Luck! Boolean Tatoo Progamming looks like taking drugs... I think I did an overdose. Boolean Tatoo

      1 Reply Last reply
      0
      • S stv

        Greetings everyone!:laugh: Can anybody help me with this problem I have try to rebuild the *.clw for classwizard, but got this message for some of my class files. "a duplicate insert block exists for class ......" and class wizard cannot view the affected class information after the rebuilt. Anybody pls help!!!:omg: Tahnks you

        O Offline
        O Offline
        Obliterator
        wrote on last edited by
        #3

        I've had this problem before, it was caused because one my classes had two lots of the classwizard entries in it. Look through your classes for one containing two lots of the following in your header file: //{{AFX_INSERT_LOCATION}} -- The Obliterator

        S 1 Reply Last reply
        0
        • O Obliterator

          I've had this problem before, it was caused because one my classes had two lots of the classwizard entries in it. Look through your classes for one containing two lots of the following in your header file: //{{AFX_INSERT_LOCATION}} -- The Obliterator

          S Offline
          S Offline
          stv
          wrote on last edited by
          #4

          tyanks you saved the day:laugh:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups