Solved GetLocaleInfo

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Johann

GetLocaleInfo

Post by Johann » 07 May 2007, 09:00

 Posted by:  Johann 

Hi NG

If anybody have a sample on how to use GetLocalesInfoA it will be
appreciated a lot. To be a bit more specific - the date formats.

Thanks
Johann

Christian Astor

Re: GetLocaleInfo

Post by Christian Astor » 08 May 2007, 02:49

 Posted by:  Christian ASTOR 

Code: Select all

Call SalStrSetBufferLength(sBuffer, 255)
Call GetLocaleInfoA(GetSystemDefaultLCID( ), LOCALE_SSHORTDATE, sBuffer, 255)

Johann

Re: GetLocaleInfo

Post by Johann » 09 May 2007, 08:44

 Posted by:  Johann 

Thanks Christian

Works like a charm!

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests