请帮助我解决这个问题,我在MASM64中构建任何项目时都进行了大量搜索,但未找到答案
LINK : fatal error LNK1181: cannot open input file 'C:\Users\emad\Desktop\EmadMASM\Win64App\Release\Resource.res'
我尝试了许多ML64.exe文件和rc.exe文件,但无法解决问题 我已经尝试了所有解决方案,即使我已经安装了新的Windows,但问题还是相同的
extrn ExitProcess: PROC
extrn MessageBoxA: PROC
includelib user32.lib
includelib kernel32.lib
; *************************************************************************
; Our data section. Here we declare our strings for our message box
; *************************************************************************
.data
strTitle db "64-bit",0
strMessage db "Hello World!",0
; *************************************************************************
; Our executable assembly code starts here in the .code section
; *************************************************************************
.code
WinMainCRTStartup PROC
sub rsp,28h ; shadow space, aligns stack
mov rcx,0 ; hWnd = HWND_DESKTOP
lea rdx,strMessage ; LPCSTR lpText
lea r8,strTitle ; LPCSTR lpCaption
mov r9d,0 ; uType = MB_OK
call MessageBoxA ; call MessageBox API function
mov ecx,eax
call ExitProcess
WinMainCRTStartup ENDP
End