- 博客(4)
- 资源 (1)
- 问答 (2)
- 收藏
- 关注
原创 【无标题】
secureCRT连接时出现key exchange failed答案:1.打开文件:/etc/ssh/sshd_config文件;2.在文件末尾添加下面配置: KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-
2022-01-27 01:31:50
1121
原创 Linux下执行脚本文件出现-bash: ./startup.sh: /bin/sh^M: 坏的解释器: 没有那个文件或目录
**1. 原因:**脚本文件是在Windows环境下编辑的,windows环境下,每一行的结尾是\n\r,而Linux环境下,每一行结尾是\n。使用cat -A filename 可以看到每行的结尾后面多出了一个^M,如图:^M符号则是每一行多出来的\r的显示。**2. 解决方法:**执行命令 sed -i 's/\r//′filename,例如:liyinghui@ubuntu: /projects/MakefileTest//' filename,例如:liyinghui@ubun
2022-01-12 10:51:55
805
原创 qt判断指定进程是否处于运行状态
#include <windows.h>#include <tlhelp32.h>判断进程是否处于运行状态bool CProcessManager::isProcessRunning(QString processName){bool ret = false;HANDLE proHandle = CreateToolhelp32Snapshot(TH32CS_S...
2020-04-15 16:30:38
5085
VC++之MFC类库中文手册.rar
2020-01-07
mfc Edit activex控件文本绑定问题
2018-01-21
VS 2010 MFC ActiveX 的问题.
2018-01-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人