[ttssh2-commit] [9627] WinExec() を TTWinExecA() に置き換え

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 12月 24日 (金) 23:42:41 JST


Revision: 9627
          https://osdn.net/projects/ttssh2/scm/svn/commits/9627
Author:   zmatsuo
Date:     2021-12-24 23:42:41 +0900 (Fri, 24 Dec 2021)
Log Message:
-----------
WinExec() を TTWinExecA() に置き換え

- WinExec() の使用はなくなった
- warning C28159: 'CreateProcess' を 'WinExec' の代わりに使用してください。理由: Deprecated.

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2021-12-23 16:48:04 UTC (rev 9626)
+++ trunk/teraterm/teraterm/vtwin.cpp	2021-12-24 14:42:41 UTC (rev 9627)
@@ -4431,7 +4431,7 @@
 				strncat_s(Command, sizeof(Command), Str, _TRUNCATE);
 			}
 
-			WinExec(Command,SW_SHOW);
+			TTWinExecA(Command);
 			return;
 		}
 


ttssh2-commit メーリングリストの案内
Back to archive index