Запостьте кусок кода, для соединения из Visual C++ с ораклом

mezherm69

mezherm69

Всё, что там есть по этой ссылке это описание того что должно быть установлено на машине для коннекта, самого кода там нет

mezherm69

When configuring either an Oracle ODBC DSN or an OLE DB connection, you must have Oracle's SQL*Net client-side components installed. SQL*Net is Oracle's network transport layer. Most Oracle ODBC drivers, including Microsoft's driver and the Microsoft OLE DB Oracle provider map, call directly to this SQL*Net layer.
After SQL*Net is configured, note your SQL*Net connection string. Typically this consists of a specifier for the Oracle database server name, and the network protocol type (TCP/IP, named pipes, and others). Often, the SQL*Net connection string is mapped to an alias. In this case it is only necessary to note the alias. For information on how to configure SQL*Net, contact your Oracle DBA, refer to the SQL*Net documentation, or refer to your Oracle ODBC driver help file for an example of a connection string.

maggi14

странно, я неправильную ссылку дал. Скопировал из адресной строки, а сама страничка, оказывается, подгружается во фрейм.
Вот правильная:
http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_d...
там есть прорва примеров. И для OLE DB, и для ODBC. И еще для ADO - не знаю, работает ли это с ораклом.

mezherm69

нашел там код на C# , а на С++ нет
Оставить комментарий
Имя или ник:
Комментарий: