Delphi 3.02 and MS SQL Server 6.5 Access from a DLL

Hey
I have some applications which are accessing SQL Server Tables properly for
reading.
If I want to do the same from a DLL, the connection to the Database does not
work...
Can anyone give me tips for that?
Anne.