吸血鬼的姐妹 电影:在VC6中使用ML混合ASM编译方法

来源:百度文库 编辑:偶看新闻 时间:2024/05/06 12:49:43

在VC6中使用ML混合ASM编译方法

在VC6中编译ASM文件,需要安装VCPP5

但是打了SP6的可能装不上这个,可以到注册表里

HKLM\SOFTWARE\Microsoft\VisualStudio\6.0\ServicePacks子键下

latest DWORD值 00000006

改为
latest DWORD值 00000005就可以安装了

也可以直接解包 把里面的ml.exe ml.err 文件手工复制到vc98\bin目录里

========================

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\ServicePacks]
"sp6"=""
"latest"=dword:00000005

========================

将 asm文件加入到工程里时,要设置工程中该文件的Custom Build属性


Commands:

ml /c /coff /Fo $(OutDir)\$(TargetName) $(InputPath)

Outputs:

$(OutDir)\$(TargetName).obj

完毕。