
Just copying the history from the source: recognize the standard handle defines in WriteFile; minor speed improvement by caching GetConsoleMode; keep track of three handles (ostensibly stdout, stderr and a file); test a DOS header exists before writing to e_oemid; more flexible/robust handling of data directories; files writing to the console will always succeed; log: use API file functions and a custom printf; add a blank line between processes; set function name for MyWriteConsoleA; scan imports from "kernel32" (without extension); added dynamic environment variable CLICOLOR; removed _hwrite (it's the same address as _lwrite); join multibyte characters split across separate writes; remove wcstok, avoiding potential interference with the host; similarly, use a private heap instead of malloc.
20 lines
466 B
C
20 lines
466 B
C
/*
|
|
version.h - Version defines.
|
|
*/
|
|
|
|
#define PVERS L"1.72" // wide string
|
|
#define PVERSA "1.72" // ANSI string (windres 2.16.91 didn't like L)
|
|
#define PVERE L"172" // wide environment string
|
|
#define PVEREA "172" // ANSI environment string
|
|
#define PVERB 1,7,2,0 // binary (resource)
|
|
|
|
#ifdef _WIN64
|
|
# define BITS L"64"
|
|
# define BITSA "64"
|
|
#else
|
|
# define BITS L"32"
|
|
# define BITSA "32"
|
|
#endif
|
|
|
|
#define ANSIDLL L"ANSI" BITS L".dll"
|