Hi KetilO,

When I am linking a hook procedure in a dll with uninitialezwd data section to be shared there is a error message.

My link switches are:


and the error message is:

LINK : fatal error LNK1181: cannot open input file "S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:C:\masm32\\Lib.obj"

Make error(s) occured.

I can't figure out what's wrong

Posted on 2002-11-07 04:04:26 by minor28
Hi minor28

The ',' confuses RadASM.
Replace it with '|' like this:


The '|' will be replaced with a ',' by RadASM in the final parsing.

Posted on 2002-11-07 04:16:18 by KetilO
Why do we must replace ',' with '|'. Can you explain clearly!

Posted on 2009-08-21 00:19:17 by kiemma
If you look at the string used, you'll notice that a comma is used as a delimiter in RadASM's config files. Also, next time just make a new thread (this one is over 7 years old).
Posted on 2009-08-21 06:59:28 by Synfire