I want it to create dll and LIB. because this dll is statically linked to another CPP dll. so I must have the lib file.
i'm using the IDE of delphi 4
No, Delphi does not generate lib files. It has no use for them.
There are ways to create a lib file from a DLL. For example, you can use implib, if it came with your version of Delphi.