
Some processes just return from the entry point; this only exits the thread, not the process. It seems that when ANSICON created its flush thread in DllMain, that became the primary thread, so when the entry point returned the process was still waiting for the flush thread to exit. Creating the flush thread the first time it is used avoids this problem, letting the process exit.
20 lines
466 B
C
20 lines
466 B
C
/*
|
|
version.h - Version defines.
|
|
*/
|
|
|
|
#define PVERS L"1.83" // wide string
|
|
#define PVERSA "1.83" // ANSI string (windres 2.16.91 didn't like L)
|
|
#define PVERE L"183" // wide environment string
|
|
#define PVEREA "183" // ANSI environment string
|
|
#define PVERB 1,8,3,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"
|