Using Win32 functions in Visual FoxPro Image Gallery
String
..msdn
CharLower
CharToOem
CharUpper
OemToChar
StrCmpC
StrFormatByteSize
StrFromTimeInterval
StrToInt
StrToIntEx
StrTrim
Code examples:
Converting strings between ANSI and OEM
CharToOem
    Add comment     W32 Constants      Translate this page
Translates a string into the OEM-defined character set.
Code examples:
Converting strings between ANSI and OEM
Declaration:
BOOL CharToOem(
  LPCTSTR lpszSrc,  // string to translate
  LPSTR lpszDst     // translated string
);
FoxPro declaration:
DECLARE SHORT CharToOem IN user32;
    STRING lpszSrc,;
    STRING @ lpszDst
Parameters:
lpszSrc
[in] Pointer to the null-terminated string to translate.

lpszDst
[out] Pointer to the buffer for the translated string.
Return value:
The return value is always nonzero except when you pass the same address to lpszSrc and lpszDst in the wide-character version of the function. In this case the function returns zero and GetLastError returns ERROR_INVALID_ADDRESS.
Word Index links for the CharToOem :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-10 12:00:00
Modified: 2001-11-26 16:03:09
Visited in last 7 days: 31
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.163.210.170)
8 sec.Function: 'GetEnhMetaFileHeader'
15 sec.
Function group: 'ODBC API'
24 sec.Function: 'CopyIcon'
32 sec.Function: 'CeGlobalMemoryStatus'
41 sec.Function: 'AVIStreamLength'
49 sec.Function: 'CeCopyFile'
57 sec.Function: 'CeGlobalMemoryStatus'
1.08 min.Function: 'gethostbyaddr'
1.22 min.Function: 'ReadConsole'
1.35 min.Function: 'GetUrlCacheEntryInfo'
Google
Advertise here!