上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页

2021年1月21日

CreateProcessA 如果遇到 Program Files 不要打引号

摘要: 打了引号反而会报错误码 2. 阅读全文

posted @ 2021-01-21 16:40 liujx2019 阅读(60) 评论(0) 推荐(0)

GetModuleHandleA 只能取当前程序载入的 module 的handle

摘要: 并不能获取别的程序的 handle。 阅读全文

posted @ 2021-01-21 16:12 liujx2019 阅读(402) 评论(0) 推荐(0)

Visual Studio #ifdef 0 编译报错 fatal error C1016: #if[n]def expected an identifier

摘要: 出处: https://stackoverflow.com/questions/426736/error-macro-names-must-be-identifiers-using-ifdef-0 The #ifdef directive is used to check if a preproce 阅读全文

posted @ 2021-01-21 14:12 liujx2019 阅读(840) 评论(0) 推荐(0)

2021年1月20日

Windows overlay icon

摘要: https://developpaper.com/how-to-create-overlay-icon/ https://stackoverflow.com/questions/5817380/overlays-icon-on-different-files-based-on-statuses ht 阅读全文

posted @ 2021-01-20 14:12 liujx2019 阅读(110) 评论(0) 推荐(0)

2021年1月19日

.ico 在线转换 可以一张图片转换成多种尺寸放在一个 .ico 里面

摘要: https://icoconvert.com/ 阅读全文

posted @ 2021-01-19 16:27 liujx2019 阅读(879) 评论(0) 推荐(0)

2021年1月12日

Shell 脚本查看是谁调用的自己

摘要: 用 ps aux | grep shell_script_name 可以看到父进程,也就是调用者。 output = 'ps aux | grep shell_script_name' logger -s $output 可以把结果记录在 syslog 里面 ps aux | grep system 阅读全文

posted @ 2021-01-12 09:36 liujx2019 阅读(1542) 评论(0) 推荐(0)

2021年1月11日

Lightning Effect on Cell Phones

摘要: Lightning Effect on Cell Phones Shiv Agarwal January 24, 2013 Submitted as coursework for PH250, Stanford University, Spring 2012 Introduction It is a 阅读全文

posted @ 2021-01-11 14:47 liujx2019 阅读(89) 评论(0) 推荐(0)

2021年1月7日

Apache 2.4 编译 configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto

摘要: 编译 httpd 时会有如下警告 configure: WARNING: apr/apr-util is compiled without ldap supportconfigure: WARNING: apr/apr-util is compiled without ldap supportcon 阅读全文

posted @ 2021-01-07 09:19 liujx2019 阅读(489) 评论(0) 推荐(0)

2021年1月6日

Windows API 获取网卡的MAC地址,GetAdaptersInfo function (iphlpapi.h)

摘要: https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersinfo 要调用两次。 第一次调用失败,但是可以获取所需的buffer大小,按所获得的大小分配空间。 第二次获得一个链表,每个节点指向 阅读全文

posted @ 2021-01-06 18:15 liujx2019 阅读(1433) 评论(0) 推荐(0)

RedHat 修改etc/resolv.com 添加DNS,重启网络,文件就被重置了

摘要: RedHat5.5的/etc/resolv.conf文件被复写的解决 [日期:2013-06-08] 来源:Linux社区 作者:wangyublues [字体:大 中 小] 公司RedHat5.5系统,配置了/etc/resolv.conf文件后重启网络服务,此文件内容就被复写了。经过查看红帽官方 阅读全文

posted @ 2021-01-06 17:51 liujx2019 阅读(445) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 41 下一页

导航