Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a CHR(13) with WritePrivateProfilestring?
Message
From
29/10/2004 05:28:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Add a CHR(13) with WritePrivateProfilestring?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00955712
Message ID:
00955712
Views:
38
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)
Next
Reply
Map
View

Click here to load this message in the networking platform