首页
社区
课程
招聘
[求助][求助]菜鸟求助~~~~
发表于: 2007-8-25 22:20 4798

[求助][求助]菜鸟求助~~~~

2007-8-25 22:20
4798
.386
.model flat,stdcall
option casemap:none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernell32.lib
          .data
szCaption  db 'A MessageBox !',0
szText     db  'Hello,World !',0
          .code
start:
           invoke MessageBox,NULL,offfset szText,offset szCaption,MB_OK or MB_YESNO
           invoke ExitProcess,NULL
           end start
为什么编译时老提示下面这个呢?
F:\masm32\文件\text.asm(14) : error A2206: missing operator in expression
F:\masm32\文件\text.asm(14) : error A2114: INVOKE argument type mismatch : argument : 2

[课程]FART 脱壳王!加量不加价!FART作者讲授!

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 2384
活跃值: (766)
能力值: (RANK:410 )
在线值:
发帖
回帖
粉丝
2
.386
.model flat,stdcall
option casemap:none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernell32.lib ; kernell32.lib多了一个'l',应该是kernel32.lib才对
          .data
szCaption  db 'A MessageBox !',0
szText     db  'Hello,World !',0
          .code
start:
           invoke MessageBox,NULL,offfset szText,offset szCaption,MB_OK or MB_YESNO  ; offfset多了一个'f'
           invoke ExitProcess,NULL
           end start
2007-8-26 08:17
0
游客
登录 | 注册 方可回帖
返回
//