using database session of host application in a DLL

How can I pass a database (TDatabase) connection to a DLL so that the
dll uses the same session? If I don't the dll will create a new session
and the user counter of the interbase server for example will be
increase of one.