diff --git a/die_source/_options.h b/die_source/_options.h index 30d1db4cfa754..5b942b5dad329 100644 --- a/die_source/_options.h +++ b/die_source/_options.h @@ -34,6 +34,7 @@ #define __DIE "Detect It Easy" #define __VERSION "2.02" +#define __VERSIONW L"2.02" #define __BUILDDATE __DATE__ #define __UPDATEFILE "http://ntinfo.biz/files/die_version" #define __HOMEPAGE "http://ntinfo.biz/index.php/detect-it-easy" @@ -63,9 +64,6 @@ enum SCAN_METHODS #ifdef USE_YARA SM_YARA, #endif -#ifdef USE_PEID - SM_PEID -#endif }; struct __DIE_RESULT diff --git a/die_source/singlefilescan.cpp b/die_source/singlefilescan.cpp index dbb2bc409aa28..a6e91e815d2a0 100644 --- a/die_source/singlefilescan.cpp +++ b/die_source/singlefilescan.cpp @@ -271,9 +271,10 @@ char *__DIE_versionA(void) return (char *)__VERSION; } -/* wchar_t *__DIE_versionW(void) +wchar_t *__DIE_versionW(void) { -#define WIDEN2(x) L ## x -#define WIDEN(x) WIDEN2(x) - return WIDEN(__VERSION); -} */ +//#define WIDEN2(x) L ## x +//#define WIDEN(x) WIDEN2(x) +// return WIDEN(__VERSION); + return __VERSIONW; +} diff --git a/die_source/singlefilescan.h b/die_source/singlefilescan.h index dc93cbf08e2c7..d93fb2f40f0a0 100644 --- a/die_source/singlefilescan.h +++ b/die_source/singlefilescan.h @@ -40,6 +40,6 @@ int __DIE_scanExW(wchar_t *pwszFileName, char *pszOutBuffer, int nOutBufferSize, int __DIE_scanA(char *pszFileName,char *pszOutBuffer,int nOutBufferSize,unsigned int nFlags); int __DIE_scanW(wchar_t *pwszFileName,char *pszOutBuffer,int nOutBufferSize,unsigned int nFlags); char *__DIE_versionA(void); -//wchar_t *__DIE_versionW(void); +wchar_t *__DIE_versionW(void); #endif // SINGLEFILESCAN_H