j'ai commence à travailler avec ADO, en fait j arrive a me connecter avec la base de sonnées, le soucis c est que j arrive pas encore a me lier avec un champs de ma base oracle voici le code que j ai écrit.

#import "C:\Program Files\Fichiers communs\System\ado\msado15.dll" \
no_namespace rename("EOF","ADOEOF")

void main()
{
HRESULT hr;
CoInitialize(NULL);

try
{

_ConnectionPtr connection;
hr = connection.CreateInstance(__uuidof(Connection));

if (FAILED(hr))
{
throw _com_error(hr);
}

_RecordsetPtr recordset;
hr = recordset.CreateInstance(__uuidof(Recordset));

if (FAILED(hr))
{
throw _com_error(hr);
}

connection->CursorLocation = adUseClient;
connection->Open("DSN=msdaora;Data Source=Oracle;User Id=System;Password=8480;", L"", L"", adConnectUnspecified);

/////probléme d’insertion
BioAPI_BIR bir;// type binaire

recordset->Fields->GetItem((long)1)->Value = bir ;


ça marche pas. Est-ce que c est le bon code pour faire une insertion, ou je peux envoyer un requête SQL.
Merci d’avance pour ton aide