we have encapsuled some td 6.0 functional classes into a .net dll and need to call this dll from a c# app with a connect to a sqlserver. Unnecessary to say that it fails

But when we connect to a sqlbase it works.
Has somebody faced such a situation? Any hint is very appreciated.
Regards
Hans