This problem is most likely caused by Update Pack incompatibility in Delphi 4. Direct Oracle Access for Delphi 4 requires that you have at least Update Pack 2 installed, which is available on the Borland web site:

http://www.borland.com/devsupport/delphi/downloads