我的文档中你不知道的功能有哪些?

1个回答

写回答

jlawkiro

2025-12-20 07:35

+ 关注

假设销售界面的可执行程序为xiaoshou.exe,路径在d:\xs下,在登陆按钮的响应函数中添加如下内容

//开启.exe进程 STARTUPINFO startInf; startInf.cb = sizeof(STARTUPINFO); startInf.lpReserved = NULL; startInf.lpDesktop = NULL; startInf.lpTitle = NULL; startInf.dwFlags = STARTF_USESHOWWINDOW; startInf.cbReserved2 = 0; startInf.lpReserved2 = NULL; startInf.wShowWindow = SW_SHOWNORMAL; CString strExePath = d:\\xs\\xiaoshou.exe; PROCESS_INFORMATION procInf; CreateProcess(strExePath, xiaoshou.exe, NULL, NULL, FALSE, 0, NULL, NULL, &startInf, &procInf);

举报有用(0分享收藏

Copyright © 2025 IZhiDa.com All Rights Reserved.

知答 版权所有 粤ICP备2023042255号