Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a CHR(13) with WritePrivateProfilestring?
Message
De
29/10/2004 05:28:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Add a CHR(13) with WritePrivateProfilestring?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
00955712
Message ID:
00955712
Vues:
40
After writing a bunch of stuff to an ini file I'd like to make things look neat by adding a CRLF.
DECLARE INTEGER WritePrivateProfileString IN Win32API AS WritePrivStr ;
	STRING cSection, STRING cKey, STRING cValue, STRING cIniFile

WritePrivStr(lcSection,lcKey,lcString,lcIniFile)
But when I pass SPACE(1) as lcString i get an = sign written to the file.

So, how is this done?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform