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. Read Only Problem

Read Only Problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
24 Posts 6 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.
  • C Cedric Moonen

    I think the message is quite clear: the resource file is read-only. Remove that property (using explorer for instance) and that should solve the problem.


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

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

    I don't see this property, can you give me the full instructions how to remove it please? :)

    SnaidiS(Semion)

    C 1 Reply Last reply
    0
    • S Semion_N

      I don't see this property, can you give me the full instructions how to remove it please? :)

      SnaidiS(Semion)

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

      Semion_N wrote:

      I don't see this property, can you give me the full instructions how to remove it please?

      Err... This has nothing to do with Visual Studio but with read/write properties of files under windows. Your resource file is read-only, so open the explorer for example, find your .rc file and right-click on it to change its properties.


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

      S 1 Reply Last reply
      0
      • C Cedric Moonen

        Semion_N wrote:

        I don't see this property, can you give me the full instructions how to remove it please?

        Err... This has nothing to do with Visual Studio but with read/write properties of files under windows. Your resource file is read-only, so open the explorer for example, find your .rc file and right-click on it to change its properties.


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

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

        The read only property isn't chacked. What else could it be?

        SnaidiS(Semion)

        1 Reply Last reply
        0
        • N Nibu babu thomas

          Semion_N wrote:

          http://img525.imageshack.us/img525/117/errorji2.jpg\[^\]

          Is the .rc file read only?


          Nibu thomas A Developer Programming tips[^]  My site[^]

          S Offline
          S Offline
          Semion_N
          wrote on last edited by
          #7

          Hmm yes I think so. When I try to add timer event I get this error.

          SnaidiS(Semion)

          T 1 Reply Last reply
          0
          • S Semion_N

            Hmm yes I think so. When I try to add timer event I get this error.

            SnaidiS(Semion)

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #8

            Semion_N wrote:

            When I try to add timer event I get this error.

            delete your .aps and .ncb file and then try again

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

            S R 2 Replies Last reply
            0
            • T ThatsAlok

              Semion_N wrote:

              When I try to add timer event I get this error.

              delete your .aps and .ncb file and then try again

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

              cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

              S Offline
              S Offline
              Semion_N
              wrote on last edited by
              #9

              I tried but it didn't help.

              SnaidiS(Semion)

              1 Reply Last reply
              0
              • S Semion_N

                I have a project. When Im trying to add a timer event It gives me this error(on picture): http://img525.imageshack.us/img525/117/errorji2.jpg[^] Why it happens and how can I solve it?

                SnaidiS(Semion)

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

                I think, your issue is similar to reported here[^], and claimed fixed now(SP1). Similarly, refer this[^] discussion.

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

                S 2 Replies Last reply
                0
                • T ThatsAlok

                  Semion_N wrote:

                  When I try to add timer event I get this error.

                  delete your .aps and .ncb file and then try again

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #11

                  ThatsAlok wrote:

                  delete your .aps and .ncb file and then try again

                  <joke> and .dsp, .dsw too! </joke>


                  You love others not for what they are, but for what you are when you are with them. Others too love you not for what you are, but for what they can be when they are with you. People need not always do the right – they can and will go wrong too. But there has to be this trust that the wrong may be only in the action and not in the intention. Without the faith that the intentions of my loved one will be right, love will not survive. Starvation of love does not cease by receiving love, but ceases only by giving love. Above all, remember, you can never do or give enough for someone you love. - Frozen Thoughts

                  T 2 Replies Last reply
                  0
                  • P prasad_som

                    I think, your issue is similar to reported here[^], and claimed fixed now(SP1). Similarly, refer this[^] discussion.

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

                    S Offline
                    S Offline
                    Semion_N
                    wrote on last edited by
                    #12

                    OK,Ill try the SP1.

                    SnaidiS(Semion)

                    1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      ThatsAlok wrote:

                      delete your .aps and .ncb file and then try again

                      <joke> and .dsp, .dsw too! </joke>


                      You love others not for what they are, but for what you are when you are with them. Others too love you not for what you are, but for what they can be when they are with you. People need not always do the right – they can and will go wrong too. But there has to be this trust that the wrong may be only in the action and not in the intention. Without the faith that the intentions of my loved one will be right, love will not survive. Starvation of love does not cease by receiving love, but ceases only by giving love. Above all, remember, you can never do or give enough for someone you love. - Frozen Thoughts

                      T Offline
                      T Offline
                      ThatsAlok
                      wrote on last edited by
                      #13

                      brahmma wrote:

                      delete your .aps and .ncb file and then try again and .dsp, .dsw too!

                      do you why .aps and .ncb file is created?

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                      N 1 Reply Last reply
                      0
                      • R Rajesh R Subramanian

                        ThatsAlok wrote:

                        delete your .aps and .ncb file and then try again

                        <joke> and .dsp, .dsw too! </joke>


                        You love others not for what they are, but for what you are when you are with them. Others too love you not for what you are, but for what they can be when they are with you. People need not always do the right – they can and will go wrong too. But there has to be this trust that the wrong may be only in the action and not in the intention. Without the faith that the intentions of my loved one will be right, love will not survive. Starvation of love does not cease by receiving love, but ceases only by giving love. Above all, remember, you can never do or give enough for someone you love. - Frozen Thoughts

                        T Offline
                        T Offline
                        ThatsAlok
                        wrote on last edited by
                        #14

                        brahmma wrote:

                        delete your .aps and .ncb file and then try again and .dsp, .dsw too!

                        Any Way! it will of much help too.. kill the tension :-D before it kill you :laugh:

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                        cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                        1 Reply Last reply
                        0
                        • T ThatsAlok

                          brahmma wrote:

                          delete your .aps and .ncb file and then try again and .dsp, .dsw too!

                          do you why .aps and .ncb file is created?

                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                          cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                          N Offline
                          N Offline
                          Nibu babu thomas
                          wrote on last edited by
                          #15

                          ThatsAlok wrote:

                          do you why .aps and .ncb file is created?

                          From MSDN: .aps -- The binary version of the current resource script file. This file is used for quick loading. The resource editor generates and uses a .APS file. This file contains a binary format of the resources. .ncb -- The .ncb file contains ClassView browser information. If it is read-only at the time Visual C++ opens the project, ClassView is unavailable.


                          Nibu thomas A Developer Programming tips[^]  My site[^]

                          T 1 Reply Last reply
                          0
                          • P prasad_som

                            I think, your issue is similar to reported here[^], and claimed fixed now(SP1). Similarly, refer this[^] discussion.

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

                            S Offline
                            S Offline
                            Semion_N
                            wrote on last edited by
                            #16

                            I downloaded and installed vs 2005 sp1 but it didn't solve the problem...

                            SnaidiS(Semion)

                            P 2 Replies Last reply
                            0
                            • N Nibu babu thomas

                              ThatsAlok wrote:

                              do you why .aps and .ncb file is created?

                              From MSDN: .aps -- The binary version of the current resource script file. This file is used for quick loading. The resource editor generates and uses a .APS file. This file contains a binary format of the resources. .ncb -- The .ncb file contains ClassView browser information. If it is read-only at the time Visual C++ opens the project, ClassView is unavailable.


                              Nibu thomas A Developer Programming tips[^]  My site[^]

                              T Offline
                              T Offline
                              ThatsAlok
                              wrote on last edited by
                              #17

                              Nibu babu thomas wrote:

                              From MSDN:

                              h he he

                              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                              cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                              N 1 Reply Last reply
                              0
                              • T ThatsAlok

                                Nibu babu thomas wrote:

                                From MSDN:

                                h he he

                                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                cheers, Alok Gupta Global Interface Table: An Easy Way to Marshal an Interface Pointer[new] VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                                N Offline
                                N Offline
                                Nibu babu thomas
                                wrote on last edited by
                                #18

                                ThatsAlok wrote:

                                Nibu babu thomas wrote: From MSDN: h he he

                                They made it, hence they know better. ;)


                                Nibu thomas A Developer Programming tips[^]  My site[^]

                                1 Reply Last reply
                                0
                                • S Semion_N

                                  I downloaded and installed vs 2005 sp1 but it didn't solve the problem...

                                  SnaidiS(Semion)

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

                                  Can you try things, given in my second link ?

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

                                  S 1 Reply Last reply
                                  0
                                  • P prasad_som

                                    Can you try things, given in my second link ?

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

                                    S Offline
                                    S Offline
                                    Semion_N
                                    wrote on last edited by
                                    #20

                                    I tried all the solutions but without success... I'll upload the project to her, and if you pplz can please try to solve it somehow:( here: http://www.uploading.com/files/HE1IXIZV/CDialogSK_demo.rar.html[^] Thank you.

                                    SnaidiS(Semion)

                                    P 1 Reply Last reply
                                    0
                                    • S Semion_N

                                      I tried all the solutions but without success... I'll upload the project to her, and if you pplz can please try to solve it somehow:( here: http://www.uploading.com/files/HE1IXIZV/CDialogSK_demo.rar.html[^] Thank you.

                                      SnaidiS(Semion)

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

                                      Semion_N wrote:

                                      http://www.uploading.com/files/HE1IXIZV/CDialogSK\_demo.rar.html\[^\]

                                      It requires some kind of login.

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

                                      1 Reply Last reply
                                      0
                                      • S Semion_N

                                        I downloaded and installed vs 2005 sp1 but it didn't solve the problem...

                                        SnaidiS(Semion)

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

                                        Good news for you ! Got the culprit. Go to SkinDialog_DemoDlg.cpp. There is first line in the file as, #using <system.dll>, remove that line. This line was causing problem, it is unnecessarily there. Removing this line should solve your problem.

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

                                        S 1 Reply Last reply
                                        0
                                        • P prasad_som

                                          Good news for you ! Got the culprit. Go to SkinDialog_DemoDlg.cpp. There is first line in the file as, #using <system.dll>, remove that line. This line was causing problem, it is unnecessarily there. Removing this line should solve your problem.

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

                                          S Offline
                                          S Offline
                                          Semion_N
                                          wrote on last edited by
                                          #23

                                          Oh, Thank you! It worked fine!;P

                                          SnaidiS(Semion)

                                          P 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