ansicon/version.h
Jason Hood dc7569dc26 Inject by adding to the Import Directory Table.
-p uses CreateRemoteThread, determining kernel32.dll & LLW dynamically.
Loading via LoadLibrary will remember the current attributes, restoring them on
unload.
Tweaked log output (remove quotes around CreateProcess command line; add an
underscore to 64-bit addresses).
ansicon.exe will really output (to the console) strings as Unicode.
Fixed ansicon.exe, if installed, restoring the default attributes, not current.
ansicon.exe will start with ANSICON_DEF (if defined and -m not used).
2014-02-05 00:21:42 +10:00

20 lines
466 B
C

/*
version.h - Version defines.
*/
#define PVERS L"1.70" // wide string
#define PVERSA "1.70" // ANSI string (windres 2.16.91 didn't like L)
#define PVERE L"170" // wide environment string
#define PVEREA "170" // ANSI environment string
#define PVERB 1,7,0,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"