returning a Recordset from a function/Dll



Hello,

I am writing an Dll-file that shall query an Active Directory.

The query is made by a ADOConnection and ADOQuery object.

I would like to return to the calling function the resulting recordset.
(the query will only result in 1 record)
How do I return a recordset?


regards,

Perry Jönsson
.