Revision: 7816 https://osdn.net/projects/ttssh2/scm/svn/commits/7816 Author: zmatsuo Date: 2019-06-28 01:26:50 +0900 (Fri, 28 Jun 2019) Log Message: ----------- r7509で削除したWINAPIを元に戻した - 呼び出し規約が変化したためにプラグインのバイナリ互換性が失われていた Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/ja/html/about/history.html trunk/teraterm/common/i18n.c trunk/teraterm/common/i18n.h -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2019-06-27 11:51:43 UTC (rev 7815) +++ trunk/doc/en/html/about/history.html 2019-06-27 16:26:50 UTC (rev 7816) @@ -41,6 +41,7 @@ <li>Bug fixes <ul> <li><!-- UTF-8\x8E\xF3\x90M\x8E\x9E\x81A4byte\x82\xCCUTF-8\x82̃f\x83R\x81[\x83h\x82\xF0\x8C\xEB\x82\xC1\x82Ă\xA2\x82\xBD\x82̂ŏC\x90\xB3 --></li> + <li>The plugin compiled before 4.103 can not called because the DLL's calling convention is changed in Tera Term 4.103. </li> <li></li> </ul> </li> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2019-06-27 11:51:43 UTC (rev 7815) +++ trunk/doc/ja/html/about/history.html 2019-06-27 16:26:50 UTC (rev 7816) @@ -41,6 +41,7 @@ <li>\x83o\x83O\x8FC\x90\xB3 <ul> <li>UTF-8\x8E\xF3\x90M\x8E\x9E\x81A4byte\x82\xCCUTF-8\x82̃f\x83R\x81[\x83h\x82\xF0\x8C\xEB\x82\xC1\x82Ă\xA2\x82\xBD\x82̂ŏC\x90\xB3</li> + <li>Ver 4.103 \x82\xC5 DLL \x82̌Ăяo\x82\xB5\x8BK\x96\xF1\x82\xF0\x95ς\xA6\x82\xBD\x82\xB1\x82ƂŁA\x82\xBB\x82\xEA\x88ȑO\x82ɃR\x83\x93\x83p\x83C\x83\x8B\x82\xB3\x82ꂽ\x83v\x83\x89\x83O\x83C\x83\x93\x82\xAA\x8CĂяo\x82\xB9\x82Ȃ\xAD\x82Ȃ\xC1\x82Ă\xA2\x82\xBD\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li> <li></li> </ul> </li> Modified: trunk/teraterm/common/i18n.c =================================================================== --- trunk/teraterm/common/i18n.c 2019-06-27 11:51:43 UTC (rev 7815) +++ trunk/teraterm/common/i18n.c 2019-06-27 16:26:50 UTC (rev 7816) @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2018 TeraTerm Project + * Copyright (C) 2006-2019 TeraTerm Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -47,7 +47,7 @@ } #endif -DllExport void GetI18nStr(const char *section, const char *key, PCHAR buf, int buf_len, const char *def, const char *iniFile) +DllExport void WINAPI GetI18nStr(const char *section, const char *key, PCHAR buf, int buf_len, const char *def, const char *iniFile) { GetPrivateProfileStringA(section, key, def, buf, buf_len, iniFile); RestoreNewLine(buf); @@ -79,7 +79,7 @@ #endif } -int GetI18nLogfont(const char *section, const char *key, PLOGFONTA logfont, int ppi, const char *iniFile) +int WINAPI GetI18nLogfont(const char *section, const char *key, PLOGFONTA logfont, int ppi, const char *iniFile) { char tmp[MAX_UIMSG]; char font[LF_FACESIZE]; @@ -110,7 +110,7 @@ return TRUE; } -void SetI18DlgStrs(const char *section, HWND hDlgWnd, +void WINAPI SetI18DlgStrs(const char *section, HWND hDlgWnd, const DlgTextInfo *infos, size_t infoCount, const char *UILanguageFile) { size_t i; @@ -135,7 +135,7 @@ } } -void SetI18MenuStrs(const char *section, HMENU hMenu, +void WINAPI SetI18MenuStrs(const char *section, HMENU hMenu, const DlgTextInfo *infos, size_t infoCount, const char *UILanguageFile) { size_t i; Modified: trunk/teraterm/common/i18n.h =================================================================== --- trunk/teraterm/common/i18n.h 2019-06-27 11:51:43 UTC (rev 7815) +++ trunk/teraterm/common/i18n.h 2019-06-27 16:26:50 UTC (rev 7816) @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2018 TeraTerm Project + * Copyright (C) 2006-2019 TeraTerm Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -47,13 +47,13 @@ } DlgTextInfo; #if defined(UNICODE) -DllExport void GetI18nStrW(const char *section, const char *key, wchar_t *buf, int buf_len, const wchar_t *def, const char *iniFile); +DllExport void WINAPI GetI18nStrW(const char *section, const char *key, wchar_t *buf, int buf_len, const wchar_t *def, const char *iniFile); #endif -DllExport void GetI18nStr(const char *section, const char *key, PCHAR buf, int buf_len, const char *def, const char *iniFile); -DllExport int GetI18nLogfont(const char *section, const char *key, PLOGFONTA logfont, int ppi, const char *iniFile); -DllExport void SetI18DlgStrs(const char *section, HWND hDlgWnd, +DllExport void WINAPI GetI18nStr(const char *section, const char *key, PCHAR buf, int buf_len, const char *def, const char *iniFile); +DllExport int WINAPI GetI18nLogfont(const char *section, const char *key, PLOGFONTA logfont, int ppi, const char *iniFile); +DllExport void WINAPI SetI18DlgStrs(const char *section, HWND hDlgWnd, const DlgTextInfo *infos, size_t infoCount, const char *UILanguageFile); -DllExport void SetI18MenuStrs(const char *section, HMENU hMenu, +DllExport void WINAPI SetI18MenuStrs(const char *section, HMENU hMenu, const DlgTextInfo *infos, size_t infoCount, const char *UILanguageFile); #if defined(_UNICODE)