Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Conversions and structures
Message
From
29/04/1999 21:24:43
 
 
To
29/04/1999 14:32:28
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00213418
Message ID:
00213731
Views:
32
To convert from UNICODE to single byte chars:

lcText = STRCONV(STRCONV(lcTExt, 6), 2)

If the first param is for output, you must allocate space for it:

lcParam = REPLICATE(n + 1, CHR(0))

whre n is the max number of returned chars
If the string is UNICODE, you must allocate (n+1)*2 chars.

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform