Im trying to make this tutorial's DLL, wich require it's data to be shared, but I'm having problems with it's makefile...

This is the linker's comand line RadASM gave me: (wich assembles/links fine)
7,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /DLL /DEF:$6 /LIBPATH:"$L" /OUT:"$7",3


This is Iczelion's comand line: (Wich dosen't even assembles)
Link /SECTION:.bss,S  /DLL /DEF:$(NAME).def /SUBSYSTEM:WINDOWS /LIBPATH:c:\masm32\lib $(NAME).obj


I've been modifyng it and got here:
7,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /SECTION:.bss,S /DLL /DEF:$6 /LIBPATH:"$L" /OUT:"$7" mousehookdll.obj


And got this error:
LINK : fatal error LNK1104: cannot open file "S /DLL /DEF:$6 /LIBPATH:C:\Masm32\Lib /OUT:$7 mousehookdll.obj"
Posted on 2005-09-17 15:30:00 by Lenin
Lenin,

Look here for a solution!

http://www.masmforum.com/simple/index.php?topic=1408.msg10488#msg10488

hth,

farrier
Posted on 2005-09-17 21:09:15 by farrier
Thanks :)
Posted on 2005-09-17 21:44:22 by Lenin