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?
.model flat, stdcall
option casemap:none

includelib user32.lib
includelib kernel32.lib

includelib masm32.lib

includelib debug.lib

szCaption byte "my fist program?", 0
szTitle byte "Win32Asm", 0

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.
Posted on 2007-12-30 08:44:47 by xpzhou
Did you just install radasm? It creates some paths which are only valid AFTER you reboot...
Posted on 2007-12-30 08:59:14 by Homer
thx for your reply, happy new year!
my RadAsm is a green software,download from
Posted on 2007-12-31 20:58:32 by xpzhou