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. Can not find class

Can not find class

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionworkspace
4 Posts 4 Posters 0 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.
  • W Offline
    W Offline
    wow9999
    wrote on last edited by
    #1

    Hi all I import a Dialog and its cpp and .h from other workspace, but when i open the classwizard, i can not find the Dialog's class name in Class Name. what happend?

    J D I 3 Replies Last reply
    0
    • W wow9999

      Hi all I import a Dialog and its cpp and .h from other workspace, but when i open the classwizard, i can not find the Dialog's class name in Class Name. what happend?

      J Offline
      J Offline
      jhwurmbach
      wrote on last edited by
      #2

      You did include it in your project? Then try do close the IDE, delete your *.ncb-file in your project directory, re-open the IDE and open the classbrowser. Now it must be there, because the class wizard database had been rebuild.


      Who is 'General Failure'? And why is he reading my harddisk?!?

      1 Reply Last reply
      0
      • W wow9999

        Hi all I import a Dialog and its cpp and .h from other workspace, but when i open the classwizard, i can not find the Dialog's class name in Class Name. what happend?

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        You might also have to delete the project's .CLW file.

        1 Reply Last reply
        0
        • W wow9999

          Hi all I import a Dialog and its cpp and .h from other workspace, but when i open the classwizard, i can not find the Dialog's class name in Class Name. what happend?

          I Offline
          I Offline
          imsniper
          wrote on last edited by
          #4

          Close VC++ go and delete the "NameOfProject.clw" in the Projects directory.. then open VC++ open the project open ClassWizard it will ask you if you want to rebuild the "NameOfProject.clw" just do it and it will give you what you want

          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