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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. To add a class to the project

To add a class to the project

Scheduled Pinned Locked Moved Managed C++/CLI
c++question
3 Posts 2 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.
  • M Offline
    M Offline
    mikobi
    wrote on last edited by
    #1

    I know same classes that I had to use with Visual c++ 6.0 How can I Insert those classes in my new project Visual C++ NET 2005 ?

    S 1 Reply Last reply
    0
    • M mikobi

      I know same classes that I had to use with Visual c++ 6.0 How can I Insert those classes in my new project Visual C++ NET 2005 ?

      S Offline
      S Offline
      Sivakumar R
      wrote on last edited by
      #2

      1. You can just copy the .h/.cpp files in to the project folder. 2. Right click on the Project in the Solution Explorer and selecct Add->Existing Items 3. Select all the .h / .cpp files from the open file dialog 4. It will add your existing classes into the project If you want to add the files from the different folder than your project folder, make sure you set the include path correctly. Regards, Sivakumar R

      M 1 Reply Last reply
      0
      • S Sivakumar R

        1. You can just copy the .h/.cpp files in to the project folder. 2. Right click on the Project in the Solution Explorer and selecct Add->Existing Items 3. Select all the .h / .cpp files from the open file dialog 4. It will add your existing classes into the project If you want to add the files from the different folder than your project folder, make sure you set the include path correctly. Regards, Sivakumar R

        M Offline
        M Offline
        mikobi
        wrote on last edited by
        #3

        In Solution explorer I don't see the files that a copy in the folder, but with explorer I see them. What to do, I think this class was not build with Visual c++ NET 2005. Is it the reaon ?

        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