Calling a Delphi DLL from VB

I am having a problem passing a string parameter from VB to the Delphi DLL
I have written. I have tried both string type and Pchar type for the
paramameter neither seem to work with VB. THe DLL is declared in VB with
the paramter be declared ByVal.