Information générale
Catégorie:
Fonctions Windows API
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement