HELP PLEASE. C++ Builder / Delphi 3.1 and DLL

I need to know how to do a DLL in C++ Builder 1.0 and then use it from
Delphi 3.1

I'm doing a final Proyect and I need to use that.

Is very urgent  because i don't have time to do it. I've try to do it but
Delphi say me that it doesn't recognize the function into the DLL.

THANK'S FOR ALL..................