麻烦看一下这个rc,怎么运行老报错!谢谢!
#define IDI_ICON1 1100
#define IDM_ABOUT 1000
#define MAINMENU 1002
#define IDM_NEW 1003
#define IDM_OPEN 1004
#define IDM_QUIT 1005
#define IDM_UNDO 1006
#define IDM_CUT 1007
#define IDM_COPY 1008
#define IDM_PASTE 1009
#define IDM_SELALL 1010
#define IDM_DELETE 1011
#define IDM_SAVE 1012
#define IDM_SAVEAS 1013
IDI_ICON1 ICON "edit.ico"
MAINMENU MENUEX
{
POPUP "&File"
{
MENUITEM "&New", IDM_NEW
MENUITEM "&Open\tF3", IDM_OPEN
MENUITEM "&Save\tF2", IDM_SAVE
MENUITEM "Save &As", IDM_SAVEAS
MENUITEM SEPARATOR
MENUITEM "E&xit\tAlt+X", IDM_QUIT
}
POPUP "&Edit"
{
MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", IDM_CUT
MENUITEM "&Copy\tCtrl+C", IDM_COPY
MENUITEM "&Paste\tCtrl+V", IDM_PASTE
MENUITEM "&Delete\tDel", IDM_DELETE
MENUITEM SEPARATOR
MENUITEM "Select &All", IDM_SELALL
}
POPUP "&Help"
{
MENUITEM "&About\tF1", IDM_ABOUT
}
}
MAINACCEL ACCELERATORS
{
VK_F1, IDM_ABOUT, VIRTKEY
VK_F2, IDM_SAVE, VIRTKEY
VK_F3, IDM_OPEN, VIRTKEY
"x", IDM_QUIT, ALT
}
你程序里有好多的语法错误 我看了 帮你改了几个 实在太多了
我改了些 还剩这么多
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
ml /c /coff maozhong1.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: maozhong1.asm
maozhong1.asm(158) : error A2109: only white space or comment can follow backsla
sh
maozhong1.asm(164) : error A2008: syntax error : rectClient
maozhong1.asm(179) : error A2006: undefined symbol : GetCommandArgs
maozhong1.asm(222) : error A2006: undefined symbol : szNULL
maozhong1.asm(222) : error A2114: INVOKE argument type mismatch : argument : 2
maozhong1.asm(225) : error A2008: syntax error : invoke
maozhong1.asm(251) : error A2008: syntax error : mov
maozhong1.asm(267) : error A2008: syntax error : invoke
maozhong1.asm(349) : error A2137: too few arguments to INVOKE
maozhong1.asm(492) : error A2006: undefined symbol : szNULL
maozhong1.asm(492) : error A2114: INVOKE argument type mismatch : argument : 2
maozhong1.asm(243) : error A2006: undefined symbol : IDM_SELALL
maozhong1.asm(293) : error A2006: undefined symbol : OFN_EXPLRER
maozhong1.asm(300) : error A2006: undefined symbol : FAlSE
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
Press any key to continue...