上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 41 下一页

2019年5月5日

[Windows] Socket Server Failed to bind, error 10048

摘要: Address already in use. Typically, only one usage of each socket address (protocol/IP address/port) is permitted. This error occurs if an application 阅读全文

posted @ 2019-05-05 09:49 liujx2019 阅读(1523) 评论(0) 推荐(0)

2019年4月19日

lodctr /R 失败的情况

摘要: I've resolved with the following steps: PS C:\Windows\system32> cmd Microsoft Windows [Version 6.2.9200] (c) 2012 Microsoft Corporation. All rights re 阅读全文

posted @ 2019-04-19 17:27 liujx2019 阅读(1984) 评论(0) 推荐(0)

2019年4月17日

ModuleNotFoundError: No module named 'sklearn.cross_validation'

摘要: 在sklearn 0.18及以上的版本中,出现了sklearn.cross_validation无法导入的情况,原因是新版本中此包被废弃 只需将 cross_validation 改为 model_selection 即可 阅读全文

posted @ 2019-04-17 16:26 liujx2019 阅读(3145) 评论(0) 推荐(0)

2019年4月12日

[Qt] 通过socket将另一个程序的某个窗口调到最前端

摘要: In linux i use this: I use this in windows, it works 出处:https://forum.qt.io/topic/1939/activatewindow-does-not-send-window-to-front/11 阅读全文

posted @ 2019-04-12 15:55 liujx2019 阅读(573) 评论(0) 推荐(0)

[Qt] QProcess::startDetached() 避免弹窗,或者窗口一闪而过

摘要: 主动宣告setProcessState(QProcess::NotRunning) 或者在堆上new一个QProcess。 出处: https://stackoverflow.com/questions/33874243/qprocessstartdetached-but-hide-console- 阅读全文

posted @ 2019-04-12 15:52 liujx2019 阅读(2798) 评论(0) 推荐(0)

2019年4月1日

[Inno Setup] 开机自启动

摘要: [icons] Name: "{userstartup}\My Program"; Filename: "{app}\MyProg.exe"; Tasks:StartMenuEntry; Name: "{commonstartup}\My Program"; Filename: "{app}\MyProg.exe"; Tasks:StartMenuEntry; 阅读全文

posted @ 2019-04-01 10:16 liujx2019 阅读(1119) 评论(0) 推荐(0)

获取 ProgramData 文件夹路径

摘要: char startUpDir[500]; if (SHGetFolderPathA( NULL, CSIDL_COMMON_STARTUP, NULL, 0, startUpDir) != S_OK) { printf("SHGetFolderPathA... 阅读全文

posted @ 2019-04-01 10:14 liujx2019 阅读(769) 评论(0) 推荐(0)

2019年3月29日

获取盘符列表

摘要: 注意这个函数返回的字符串是按'\0'分割,所以必须先用别的分隔符替换之后再使用。否则只能得到第一个盘的盘符。 阅读全文

posted @ 2019-03-29 13:48 liujx2019 阅读(320) 评论(0) 推荐(0)

获取 ProgramData 之类的环境变量(文件夹路径)的值

摘要: Recognized Environment Variables https://docs.microsoft.com/en-us/windows/deployment/usmt/usmt-recognized-environment-variables 阅读全文

posted @ 2019-03-29 13:46 liujx2019 阅读(1390) 评论(0) 推荐(0)

[Windows]允许未签名的驱动

摘要: https://social.technet.microsoft.com/forums/windows/en-US/1146e0f6-38f0-4ecd-8e6c-ad0c304c1a0d/bcdeditexe-set-testsigning-off https://answers.microsof 阅读全文

posted @ 2019-03-29 13:44 liujx2019 阅读(766) 评论(0) 推荐(0)

上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 41 下一页

导航