Jump to content

Problem with IniDelete


Recommended Posts

The documentation is wrong. The function only returns 0 if the file does not exist or if the file is read-only. The function returns 1 if the key/section was deleted or if the key/section did not exist. In both cases, the result is the same, the key/section is gone.

Link to comment
Share on other sites

The documentation is wrong. The function only returns 0 if the file does not exist or if the file is read-only. The function returns 1 if the key/section was deleted or if the key/section did not exist. In both cases, the result is the same, the key/section is gone.

Thanks for your prompt reply. The correct usage does make more sense.

Best Regards Merriman

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...