Re: Problems - Libpq++

Поиск
Список
Период
Сортировка
От Jeroen T. Vermeulen
Тема Re: Problems - Libpq++
Дата
Msg-id 11362.125.24.1.52.1148394425.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответ на Problems - Libpq++  ("Christiane Brasil" <christianebrasil@gmail.com>)
Ответы Re: Problems - Libpq++  ("Christiane Brasil" <christianebrasil@gmail.com>)
Список pgsql-interfaces
On Tue, May 23, 2006 18:46, Christiane Brasil wrote:

> I´m trying to compile a program with Visual C++ Express Edition, using the
> library Libpq++. But I don´t understand the errors that appear when it´s
> compiled.

> 1>projBancoII.obj : error LNK2028: unresolved token (0A000015) "public:
> enum
> ExecStatusType __clrcall Libpqpp::PgConnection::Exec(char const *)"
> (?Exec@
> PgConnection@Libpqpp@@$$FQAM?AW4ExecStatusType@@PBD@Z) referenced in
> function "private: void __clrcall projBancoII::Form1::button1_Click(class
> System::Object ^,class System::EventArgs ^)" (?button1_Click@
> Form1@projBancoII@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)

It looks like this compiler isn't speaking C++ in the first place--more
likely it's one of the Microsoft-specific "C++-like" languages that aren't
quite compatible.  From what I heard, that unary "^" you see in this error
is something specific to a language called C++/CLI.

This can get a bit confusing since some of the people involved have made
it seem like this derived language and standard C++ were the same thing. 
Apparently, however, Microsoft's compiler does impose some restrictions on
how you can link these derived languages with real C++ code.


Jeroen




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

Предыдущее
От: "Christiane Brasil"
Дата:
Сообщение: Problems - Libpq++
Следующее
От: "Christiane Brasil"
Дата:
Сообщение: Re: Problems - Libpq++