Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading From An INI File
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Reading From An INI File
Miscellaneous
Thread ID:
00664506
Message ID:
00664506
Views:
62
Whats wrong here? I'm getting a data type mismatch error.

LOCAL sRetVal, nSize, sReturn, nResult
sRetVal = ""
nSize = 254
sReturn = SPACE(nSize)

DECLARE INTEGER GetPrivateProfileString IN kernel32;
STRING lpAppName,;
INTEGER lpKeyName,;
STRING lpDefault,;
STRING @sReturn,;
INTEGER nSize,;
STRING lpFileName

nResult = GetPrivateProfileString(sSectionName, sKeyName,;
(#novalue#)", @sReturn, nSize, sFileName)

.
.
.
.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform