32汇编下为什么不用include user32.inc 声明API函数就可以使用了啊
.386.model flat,stdcall
include Irvine32.inc
includelib user32.lib
includelib kernel32.lib
includelib irvine32.lib
.data
hello byte "this is a message!",0
caption byte "message",0
.code
main proc
mov edx,offset hello
mov ebx,offset caption
call MsgBox
main endp
end main
有些地方不解,为什么
includelib user32.lib
includelib kernel32.lib
这两句没有 用include user32.inc 和 include kernel32.inc 啊。不用在声明API函数? 难道masn32编译时候隐含声明了吗?
就好像VC里面调用API函数也要加 windows.h头文件啊