首页
社区
课程
招聘
[旧帖] [求助]用masm32编译出现的问题 0.00雪花
发表于: 2008-2-16 19:53 4705

[旧帖] [求助]用masm32编译出现的问题 0.00雪花

2008-2-16 19:53
4705
.386
.MODEL flat,stdcall
option casemap:none
include windows.inc
include kernel32.inc
include user32.inc
includelib kernel32.lib
includelib user32.lib
.stack
.data
abc db 'abc',0
.code
start:
invoke MessageBox,NULL,EAX, addr abc,MB_OK
invoke ExitProcess,NULL
END start
end

用masm32 v9 编译后出现错误:

E:\masm32\123.asm<4> :fatal error A1000: cannot open file : windows.inc
_
Assembly Error

怎么解决呀

顺便问问,怎么在帖子里发图片呀?

[课程]Android-CTF解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (5)
雪    币: 485
活跃值: (12)
能力值: ( LV9,RANK:490 )
在线值:
发帖
回帖
粉丝
2
include使用绝对路径试试
如:
include e:\masm32\include\windows.inc
2008-2-16 19:55
0
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
试过了,还是没用!
2008-2-16 20:21
0
雪    币: 485
活跃值: (12)
能力值: ( LV9,RANK:490 )
在线值:
发帖
回帖
粉丝
4
还是上面的错误提示?
2008-2-16 20:49
0
雪    币: 485
活跃值: (12)
能力值: ( LV9,RANK:490 )
在线值:
发帖
回帖
粉丝
5
.386
.MODEL flat,stdcall
option casemap:none
include e:\masm32\include\windows.inc
include e:\masm32\include\kernel32.inc
include e:\masm32\include\user32.inc
includelib e:\masm32\lib\kernel32.lib
includelib e:\masm32\lib\user32.lib

.stack
.data
abc db 'abc',0
.code
start:
invoke MessageBox,NULL,EAX, addr abc,MB_OK
invoke ExitProcess,NULL
END start
end
在我这里编译通过。
2008-2-16 20:53
0
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
通过了,谢谢
2008-2-16 21:18
0
游客
登录 | 注册 方可回帖
返回
//