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. Problem with writeprivateprofilestring()

Problem with writeprivateprofilestring()

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

    Hi I am using writeprivateprofilestring function to update two files. Suppose Two files are A.ini and B.ini. First we call writeprivateprofilestring for A.ini by and After call writeprivateprofilestring for B.ini. Both file value update successfully. but after call writeprivateprofilestring for b.ini and system is being restart then Only second file B.ini value is update but A.ini value is not updated

    D 1 Reply Last reply
    0
    • S Shivanand Gupta

      Hi I am using writeprivateprofilestring function to update two files. Suppose Two files are A.ini and B.ini. First we call writeprivateprofilestring for A.ini by and After call writeprivateprofilestring for B.ini. Both file value update successfully. but after call writeprivateprofilestring for b.ini and system is being restart then Only second file B.ini value is update but A.ini value is not updated

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      shivanandgupta wrote:

      Both file value update successfully.

      How are you verifying this?

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "Man who follows car will be exhausted." - Confucius

      S 1 Reply Last reply
      0
      • D David Crow

        shivanandgupta wrote:

        Both file value update successfully.

        How are you verifying this?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Man who follows car will be exhausted." - Confucius

        S Offline
        S Offline
        Shivanand Gupta
        wrote on last edited by
        #3

        function do well. but in case power restart then first value is not updated but second value is updated.

        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