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. COM
  4. VC6 IDE (Cannot create method)

VC6 IDE (Cannot create method)

Scheduled Pinned Locked Moved COM
visual-studiocsharphelpworkspace
6 Posts 3 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.
  • S Offline
    S Offline
    ssirisha
    wrote on last edited by
    #1

    Having trouble adding a method or property using Visual Studio IDE. The Steps I followed: 1. Highlight interface "IMyInter" in the workspace 2. Right click and chose to add a method.. 3. After inputs for method name etc. On Ok, I am getting an error "Unable to create the function because the header file or the implementation file could not be found" Any pointers please. Thanks

    R 1 Reply Last reply
    0
    • S ssirisha

      Having trouble adding a method or property using Visual Studio IDE. The Steps I followed: 1. Highlight interface "IMyInter" in the workspace 2. Right click and chose to add a method.. 3. After inputs for method name etc. On Ok, I am getting an error "Unable to create the function because the header file or the implementation file could not be found" Any pointers please. Thanks

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #2

      delet the .ncb file for the solution and everything would be back to normal:)

      S 1 Reply Last reply
      0
      • R Rama Krishna Vavilala

        delet the .ncb file for the solution and everything would be back to normal:)

        S Offline
        S Offline
        ssirisha
        wrote on last edited by
        #3

        No didnt fix it.. I deleted .ncb and recompiled it. I see the file created but now I can find my interface "IMyInter" in the workspace..

        F R 2 Replies Last reply
        0
        • S ssirisha

          No didnt fix it.. I deleted .ncb and recompiled it. I see the file created but now I can find my interface "IMyInter" in the workspace..

          F Offline
          F Offline
          Francisco Moraes
          wrote on last edited by
          #4

          One thing that I found is that all files need to be in the project (header and code) or strange things may happen. I had problems where I my header files were not added to the project, so my classes would not show up in the class view. Francisco

          1 Reply Last reply
          0
          • S ssirisha

            No didnt fix it.. I deleted .ncb and recompiled it. I see the file created but now I can find my interface "IMyInter" in the workspace..

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #5

            Is the IDL file in the project?

            S 1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              Is the IDL file in the project?

              S Offline
              S Offline
              ssirisha
              wrote on last edited by
              #6

              Solution: I am not sure if the .OPT file is any way related to this problem. But when I deleted .OPT file, everthing worked fine. Thanks gentlemen for your help..

              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