Search found 4 matches
- Wed Feb 21, 2007 4:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How prevent running an application twice ?
- Replies: 6
- Views: 1915
- Tue Feb 13, 2007 10:48 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Detecting Region
- Replies: 21
- Views: 6965
- Tue Feb 13, 2007 4:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Detecting Region
- Replies: 21
- Views: 6965
- Tue Feb 13, 2007 2:33 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Detecting Region
- Replies: 21
- Views: 6965
Get region
Hi Jeff,
Try GetLocaleInfoA: the format is below
DLL32 FUNCTION GetLocInfoA;
( Locale AS LONG, ;
LCType AS LONG, ;
lpLCData AS STRING, ;
cchData AS LONG ) ;
AS LONG PASCAL;
FROM "GetLocaleInfoA" LIB "KERNEL32"
The CONSTANTs for passing are
CONSTANT long LOCALE_ICOUNTRY = 5 ' Country code ...
Try GetLocaleInfoA: the format is below
DLL32 FUNCTION GetLocInfoA;
( Locale AS LONG, ;
LCType AS LONG, ;
lpLCData AS STRING, ;
cchData AS LONG ) ;
AS LONG PASCAL;
FROM "GetLocaleInfoA" LIB "KERNEL32"
The CONSTANTs for passing are
CONSTANT long LOCALE_ICOUNTRY = 5 ' Country code ...