
Unhook on terminate, to properly exit (Vista CMD.EXE and a MinGW-built ansicon.exe would seem to exit okay, but the exit code was wrong). Fixes #123. Verify the DLL exists prior to injection. With the DLL now being added to the import table, failing to find it would prevent the process itself from loading.
20 lines
466 B
C
20 lines
466 B
C
/*
|
|
version.h - Version defines.
|
|
*/
|
|
|
|
#define PVERS L"1.86" // wide string
|
|
#define PVERSA "1.86" // ANSI string (windres 2.16.91 didn't like L)
|
|
#define PVERE L"186" // wide environment string
|
|
#define PVEREA "186" // ANSI environment string
|
|
#define PVERB 1,8,6,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"
|