Anyone used ADO with an NT Service?

This code fails when I run it as a service:


_ConnectionPtr db;
hCreate = db.CreateInstance( __uuidof(Connection) );




Any ideas?