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. Not able to add event handlers!!

Not able to add event handlers!!

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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.
  • S Offline
    S Offline
    SteamEngine
    wrote on last edited by
    #1

    Hello all, I am facing a very peculiar problem.I am not able to add new functions/event handlers into a particular class of my project.when i try to add an event handler it gives error saying that "the code element CResult is read only and add remove operation is impossible" while i am still able to add event handlers in to the other classes of the project. can anybody please tell me what the problem could be???:doh:

    C P H 3 Replies Last reply
    0
    • S SteamEngine

      Hello all, I am facing a very peculiar problem.I am not able to add new functions/event handlers into a particular class of my project.when i try to add an event handler it gives error saying that "the code element CResult is read only and add remove operation is impossible" while i am still able to add event handlers in to the other classes of the project. can anybody please tell me what the problem could be???:doh:

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Did you check if the file was not read-only ?


      Cédric Moonen Software developer
      Charting control [Updated - v1.1]

      1 Reply Last reply
      0
      • S SteamEngine

        Hello all, I am facing a very peculiar problem.I am not able to add new functions/event handlers into a particular class of my project.when i try to add an event handler it gives error saying that "the code element CResult is read only and add remove operation is impossible" while i am still able to add event handlers in to the other classes of the project. can anybody please tell me what the problem could be???:doh:

        P Offline
        P Offline
        prasad_som
        wrote on last edited by
        #3

        Is this problem same as refered here[^]?

        Prasad Notifier using ATL | Operator new[],delete[][^]

        1 Reply Last reply
        0
        • S SteamEngine

          Hello all, I am facing a very peculiar problem.I am not able to add new functions/event handlers into a particular class of my project.when i try to add an event handler it gives error saying that "the code element CResult is read only and add remove operation is impossible" while i am still able to add event handlers in to the other classes of the project. can anybody please tell me what the problem could be???:doh:

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          It seems your file is read only.


          WhiteSky


          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