Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WritePrivateProfileString
Message
From
20/08/1998 20:36:49
 
 
To
19/08/1998 23:09:26
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00128327
Message ID:
00128650
Views:
29
>>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
Map
View

Click here to load this message in the networking platform