
Creating a console handle in `set_ansicon` was assumed to succeed, but that is not the case when there is no console (if the process was started detached or freed its console). This left the console info uninitialised, causing my `printf` replacement to get stuck in a loop. Resolves #127.
20 lines
466 B
C
20 lines
466 B
C
/*
|
|
version.h - Version defines.
|
|
*/
|
|
|
|
#define PVERS L"1.88" // wide string
|
|
#define PVERSA "1.88" // ANSI string (windres 2.16.91 didn't like L)
|
|
#define PVERE L"188" // wide environment string
|
|
#define PVEREA "188" // ANSI environment string
|
|
#define PVERB 1,8,8,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"
|