摘要: 制作DLL xxx.asm: %macro fb 0 push ebp mov ebp,esp %endmacro %macro fa 1 mov esp,ebp pop ebp ret %1 %endmacro section .text global dllmain dllmain: mov e 阅读全文
posted @ 2020-09-19 15:13 Ajanuw 阅读(330) 评论(0) 推荐(0) 编辑
摘要: hello.asm: extern MessageBoxA extern ExitProcess section .data title db "caption.",0 message db "hello world....",0 section .text global main main: pu 阅读全文
posted @ 2020-09-19 14:43 Ajanuw 阅读(185) 评论(0) 推荐(0) 编辑
摘要: video 创建两个项目Game和ALib 将Game设置为可执行文件exe,将ALib设置为静态库lib文件,在项目目录上右键,属性,常规->配置类型 在ALib下添加alib.h和alib.cpp文件 alib.h: #pragma once namespace alib { void a(); 阅读全文
posted @ 2020-09-19 13:07 Ajanuw 阅读(644) 评论(0) 推荐(0) 编辑