vc中用ado方式连接oracle,使用非dsn的方式
_ConnectionPtr MyDb;
MyDb.CreateInstance(__uuidof(Connection));
MyDb->Open( "provider=Provider=OraOLEDB.Oracle.1;Password=YourPassword;Persist Security Info=True;UserID=YourUserName;DataSource=YourDataBase;SERVER=172.18.6.253;DATABASE=UNKOU_PRG_DATA;UID=master;PWD=admin", "", "", 0 );