www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - MAKELCID C++ translation

reply Mike B Johnson <Mikey Ikes.com> writes:
How to translate something like?

#define LCID_ENGLISH MAKELCID(MAKELANGID(0x09, 0x01), 
SORT_DEFAULT)
#define LCID_GERMAN  MAKELCID(MAKELANGID(0x07, 0x01), 
SORT_DEFAULT)

D seems to be missing these macros and definitions
May 05
parent reply Adam D. Ruppe <destructionator gmail.com> writes:
On Friday, 5 May 2017 at 22:57:50 UTC, Mike B Johnson wrote:
 D seems to be missing these macros and definitions
import core.sys.windows.winnt; then they should work
May 05
parent Mike B Johnson <Mikey Ikes.com> writes:
On Friday, 5 May 2017 at 23:02:53 UTC, Adam D. Ruppe wrote:
 On Friday, 5 May 2017 at 22:57:50 UTC, Mike B Johnson wrote:
 D seems to be missing these macros and definitions
import core.sys.windows.winnt; then they should work
thanks.
May 05