将`.inc`文件添加到Visual Studio中的汇编语言项目

时间:2013-04-24 03:58:55

标签: visual-studio-2010 masm irvine32

在Visual Studio 2010中,如何将.inc文件添加到汇编语言项目中?在这里,我正在尝试将irvine32.lib添加到项目中:

1>------ Build started: Project: p10, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'irvine32.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

当我在.asm文件的开头添加此行时出现此错误:

include irvine32.inc

1 个答案:

答案 0 :(得分:1)

include PATHTOIRVINE\irvine32.inc
includelib PATHTOIRVINE\irvine32.lib