General information
Category:
Windows API functions
>>I have the syntax for using GetPrivateProfileString to read and INI file does anyone have the info for WritePrivateProfileString to write to an INI file?
>>
>>Thanks
>
>From George Tasker's INI file class:
>
>DECLARE SHORT WritePrivateProfileString IN Win32API;
> STRING cSection, STRING cEntry, STRING cString, STRING cFilename
>
>Use it to your hearts content, but George's class has so much functionality already built, I highly recommend downloading and using it directly.
I downloaded it but I am having trouble using WritePrivateProfileString. It fails to write to the ini file. I get return codes of 1 and 0. Do you know what this means?
Thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only