postres, odbc and adox

Поиск
Список
Период
Сортировка
От Tom Cook
Тема postres, odbc and adox
Дата
Msg-id F4215gjGpnAKowZZUw6000036b5@hotmail.com
обсуждение исходный текст
Список pgsql-odbc
I'm hoping that you can help me.  I have written a MS C++ application that
uses ADO and ADOX to communicate to the ODBC drivers.  I am trying to use
the PostGres ODBC driver but I am having problems in using the
ADOX::_CatalogPtr and inserting the connection:

            m_pCatalog->PutActiveConnection("Provider=MSDASQL.1;Persist
Security Info=False;User ID=postgres;Data Source=PostgreSQL");

The ADO side of things works fine but if I want to do anything with ADOX
such as create a table, when I attempt to build the catalog based on a
postgres connection string, I get a _com_error.  Do you have any idea as to
how to handle this?  Does the your postgres ODBC driver not support ADOX?
Could I be doing something wrong?

Many thanks for your help,
Tom



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


В списке pgsql-odbc по дате отправления:

Предыдущее
От: Chris Gamache
Дата:
Сообщение: Re: PostgreSQL+ (Beta) and Active Server Pages with @TRANSACTION=REQUIRED
Следующее
От: "Jai Beales"
Дата:
Сообщение: Re: postres, odbc and adox