Hello KetilO.
I tried to add a new "Hook Dll Project" type, but a error occured.
ERROR OUTPUT>>>
LINK : fatal error LNK1104: cannot open file '*.def'
LINK : fatal error LNK1141: failure during build of exports file

Can you please tell me what did I do wrong?
"Hook Dll Project" type>>>

Files=1,1,0,1,0
Folders=1,0,0
MenuMake=0,1,1,1,0,0,0,0
;x=MakeFileToDelete/CheckExistsOnExit,
;(O)utput/(C)onsole/0,Command,
;MakeFile1[,MakeFile2[,MakeFile3...]]
1=4,O,$B\RC.EXE /v,1
2=3,O,$B\ML.EXE /c /coff /Cp /nologo /I"$I",2
3=7,O,$B\Link /SECTION:.bss|S /DLL /DEF:*.def /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3
4=0,0,,5
5=rsrc.obj,O,$B\CVTRES.EXE,rsrc.res
6=*.obj,O,$B\ML.EXE /c /coff /Cp /nologo /I"$I",*.asm
11=4,O,$B\RC.EXE /v,1
12=3,O,$B\ML.EXE /c /coff /Cp /nologo /I"$I",2
13=7,O,$B\LINK.EXE /SUBSYSTEM:WINDOWS /DEBUG /DLL /DEF:$6 /LIBPATH:"$L",3
14=0,0,,5
15=rsrc.obj,O,$B\CVTRES.EXE,rsrc.res
16=*.obj,O,$B\ML.EXE /c /coff /Cp /nologo /I"$I",*.asm

I appreciate anyone could give me a hint.
Anybody's advices will be welcome.
Thank you.
Posted on 2002-06-17 00:48:26 by ssa
it seems you didn't specify a .def file which is being linked with...
the .def file contains info about the dll which the linker uses...one of the importan bis of information id the list of functions exported by the dll...have a look at the dll projects which come with RadASM to find out how to make a dll. allso check out iczelion tute #17...
Posted on 2002-06-17 01:42:45 by MArtial_Code
Hi ssa

Try changing the line:

3=7,O,$B\Link /SECTION:.bss|S /DLL /DEF:*.def /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3

to:

3=7,O,$B\Link /SECTION:.bss|S /DLL /DEF:$6 /SUBSYSTEM:WINDOWS /LIBPATH:"$L",3

$6 is replaced by redasm to 'yourdll.def'

KetilO
Posted on 2002-06-17 03:19:05 by KetilO
MArtial_Code and KetilO,thank you for reply.
The problem has been solved.
Your informations are very helpful.

Especial thank you to KetilO for making such a great IDE.
Keep up your good work.

SSA
Posted on 2002-06-18 02:27:36 by ssa