05 2023 档案

摘要:首先通过CreateEvent函数创建一个signaled的事件对象,也就是第三个参数必须为TRUE。否则shellcode将不会得到执行,且进程将一直等待下去。 使用CreateThreadpoolWait函数创建一个线程池等待回调,我们只需要关心第一个参数也就是等待完成或者超时后要执行的回调函数 阅读全文
posted @ 2023-05-17 20:55 StudyCat 阅读(182) 评论(0) 推荐(0) 编辑
摘要:某日在一台windows 7 上安装nim lang,然后安装第一个包就报错了。 C:\Users\user>nimble install winim --verbose Reading official package list Downloading https://github.com/khc 阅读全文
posted @ 2023-05-17 20:49 StudyCat 阅读(106) 评论(0) 推荐(0) 编辑
摘要:某日尝试编译一个文件,报错如下。 Error: cannot open file: winim/lean 根据错误消息,需要安装“winim”,但是安装失败如下所示。 cmdshell> nimble install winim --verbose Reading official package 阅读全文
posted @ 2023-05-10 21:14 StudyCat 阅读(316) 评论(0) 推荐(0) 编辑
摘要:# nim 创建 dll 编译命令 ``` nim c --app:lib --nomain:on test.nim ``` “--app:lib”表示生成动态链接库(dll)。 “--nomain:on”表示不生成 dllmain 函数。 ## 源代码 test() 是我们自定义的导出函数。 `` 阅读全文
posted @ 2023-05-09 21:58 StudyCat 阅读(276) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示