after complier, report a link error as follows:
C:\Masm32\Bin\ML.EXE /c /coff /Cp /nologo /I"C:\Masm32\Include" "test.asm"
Assembling: test.asm
C:\Masm32\Bin\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /LIBPATH:"C:\Masm32\Lib" /OUT:"test.exe" "test.obj" "test.res"
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK : fatal error LNK1104: cannot open file "\masm32\lib\kernel32.lib"
Make error(s) occured.
Total compile time 562 ms
my code is as follows?
.386
.model flat, stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
includelib user32.lib
includelib kernel32.lib
include masm32.inc
includelib masm32.lib
include debug.inc
includelib debug.lib
.data
szCaption byte "my fist program?", 0
szTitle byte "Win32Asm", 0
.code
start:
PrintText "eax is ture"
invoke MessageBox, NULL, addr szCaption, addr szTitle, MB_OK
invoke ExitProcess, NULL
end start
there is no error when i delete " PrintText "eax is true" ".
my masm is version9,and installed in disk C?
and my RadAsm in disk E?the path is set as follows?
App C:\Masm32
Binary $A\Bin
Include $A\Include
Lib $A\Lib
Macro $R\Masm\Macro
my project path is the same as the RadAsm.
I'm a chinese, I'm sorry for my poor english.
please give me some Ideas, suggestions? Thanks.
C:\Masm32\Bin\ML.EXE /c /coff /Cp /nologo /I"C:\Masm32\Include" "test.asm"
Assembling: test.asm
C:\Masm32\Bin\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /LIBPATH:"C:\Masm32\Lib" /OUT:"test.exe" "test.obj" "test.res"
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK : fatal error LNK1104: cannot open file "\masm32\lib\kernel32.lib"
Make error(s) occured.
Total compile time 562 ms
my code is as follows?
.386
.model flat, stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
includelib user32.lib
includelib kernel32.lib
include masm32.inc
includelib masm32.lib
include debug.inc
includelib debug.lib
.data
szCaption byte "my fist program?", 0
szTitle byte "Win32Asm", 0
.code
start:
PrintText "eax is ture"
invoke MessageBox, NULL, addr szCaption, addr szTitle, MB_OK
invoke ExitProcess, NULL
end start
there is no error when i delete " PrintText "eax is true" ".
my masm is version9,and installed in disk C?
and my RadAsm in disk E?the path is set as follows?
App C:\Masm32
Binary $A\Bin
Include $A\Include
Lib $A\Lib
Macro $R\Masm\Macro
my project path is the same as the RadAsm.
I'm a chinese, I'm sorry for my poor english.
please give me some Ideas, suggestions? Thanks.
Did you just install radasm? It creates some paths which are only valid AFTER you reboot...
thx for your reply, happy new year!
my RadAsm is a green software,download from http://www.radasm.com/
my RadAsm is a green software,download from http://www.radasm.com/