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. Changing read to read/write

Changing read to read/write

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
4 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.
  • M Offline
    M Offline
    Martin Marvinski
    wrote on last edited by
    #1

    Quick question. I have a C++ application that copies a file off of a CD-ROM to the disk. When it gets to the disk, the file is read only. I haven't programmed in Win32 in a while and I've forgotten which function allows me to change a file from read to read/write. The file system is NTFS. Thanks in advance.

    C N 2 Replies Last reply
    0
    • M Martin Marvinski

      Quick question. I have a C++ application that copies a file off of a CD-ROM to the disk. When it gets to the disk, the file is read only. I haven't programmed in Win32 in a while and I've forgotten which function allows me to change a file from read to read/write. The file system is NTFS. Thanks in advance.

      C Offline
      C Offline
      Curtis Schlak
      wrote on last edited by
      #2

      SetFileAttributes[^]? "we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty

      1 Reply Last reply
      0
      • M Martin Marvinski

        Quick question. I have a C++ application that copies a file off of a CD-ROM to the disk. When it gets to the disk, the file is read only. I haven't programmed in Win32 in a while and I've forgotten which function allows me to change a file from read to read/write. The file system is NTFS. Thanks in advance.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        Holy cow, I didn't know you still hung around here, Martin :-) Regards, Nish

        My blog : Nish’s thoughts on MFC, C++/CLI and .NET

        M 1 Reply Last reply
        0
        • N Nish Nishant

          Holy cow, I didn't know you still hung around here, Martin :-) Regards, Nish

          My blog : Nish’s thoughts on MFC, C++/CLI and .NET

          M Offline
          M Offline
          Martin Marvinski
          wrote on last edited by
          #4

          Hi Nish, Good to see you! I have been here a few times to look somethings up, but I haven't programmed in win32 for a few years. I've mostly been doing UNIX programming the last couple of years. I hope you are doing really well, Nish, you have a great attitude and are extremely talented. Sincerely, Martin. :)

          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