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:
7,O,$B\LINK.EXE /SECTION:.bss,S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3
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
regards
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:
7,O,$B\LINK.EXE /SECTION:.bss,S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3
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
regards
Hi minor28
The ',' confuses RadASM.
Replace it with '|' like this:
7,O,$B\LINK.EXE /SECTION:.bss|S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3
The '|' will be replaced with a ',' by RadASM in the final parsing.
KetilO
The ',' confuses RadASM.
Replace it with '|' like this:
7,O,$B\LINK.EXE /SECTION:.bss|S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3
The '|' will be replaced with a ',' by RadASM in the final parsing.
KetilO
@KetilO:
Why do we must replace ',' with '|'. Can you explain clearly!
Thanx
Why do we must replace ',' with '|'. Can you explain clearly!
Thanx
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).