From 3cc5d20e4907de66cc38d368da5c91ba7c77329b Mon Sep 17 00:00:00 2001 From: Won-Kyu Park Date: Sat, 11 Feb 2023 14:36:06 +0900 Subject: win32: support DynamicLibrary --- libhangul.vcxproj | 3 +++ win32/libhangul.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 win32/libhangul.rc diff --git a/libhangul.vcxproj b/libhangul.vcxproj index edc8751..906a374 100644 --- a/libhangul.vcxproj +++ b/libhangul.vcxproj @@ -139,6 +139,9 @@ true + + + diff --git a/win32/libhangul.rc b/win32/libhangul.rc new file mode 100644 index 0000000..5116efc --- /dev/null +++ b/win32/libhangul.rc @@ -0,0 +1,46 @@ + +#undef APSTUDIO_READONLY_SYMBOLS +#include +#include "../hangul/hangul.h" +#undef APSTUDIO_READONLY_SYMBOLS + +// English resources +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG) + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0xbL +#else + FILEFLAGS 0xaL +#endif + FILEOS 0x4L + FILETYPE VFT_DLL + FILESUBTYPE 0xbL +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "Comments", "libhangul hangul library https://github.com/libhangul/libhangul\0" + VALUE "CompanyName", "libhangul\0" + VALUE "FileDescription", "Libhangul v1.0.0\0" + VALUE "FileVersion", "1.0\0" + VALUE "InternalName", "Libhangul\0" + VALUE "LegalCopyright", "Copyright (C) 2004-2022 Choe Hwanjin\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", "LIBHANGUL.DLL\0" + VALUE "ProductName", "Libhangul\0" + VALUE "ProductVersion", "1.0.0.0\0" + END + END + + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END + +#endif // English resources -- cgit v1.2.1