Guys how can I convert my DLL file which connects to the database server into a COM?

Any sites which can help me.