摘要:
SetWall.ps1: $imgPath="C:\Users\ajanuw\Pictures\Saved Pictures\1.jpg" $code = @' using System.Runtime.InteropServices; namespace Win32{ public class W 阅读全文
posted @ 2021-04-15 10:02
Ajanuw
阅读(109)
评论(0)
推荐(0)
摘要:
https://github.com/nodejs/node-addon-api hello world #include <napi.h> using namespace Napi; String Method(const CallbackInfo& info) { Env env = info. 阅读全文
posted @ 2021-04-15 09:39
Ajanuw
阅读(1757)
评论(0)
推荐(1)
摘要:
1. 创建静态库 "hello.lib" release x64 编译前,选择多线程MT,否则可能出现这个错误(error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”) 生成解决方案 2. 阅读全文
posted @ 2021-04-15 09:37
Ajanuw
阅读(638)
评论(0)
推荐(0)
摘要:
// mov rcx,0 a.mov(rcx, 0); a.mov(rax, ptr(rcx) ); // mov rax, [rcx] a.mov(rax, ptr(rbp, 16)); // mov rax [rbp+0x10] // 字符串 a.mov(rdx, "body"); 查看字节码 阅读全文
posted @ 2021-04-15 09:36
Ajanuw
阅读(104)
评论(0)
推荐(1)