X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0D64E9FA3AD for ; Tue, 23 May 2006 11:27:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 76992-04 for ; Tue, 23 May 2006 11:27:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by postgresql.org (Postfix) with ESMTP id DFFFF9F94EA for ; Tue, 23 May 2006 11:27:07 -0300 (ADT) Received: from webmail.xs4all.nl (dovemail2.xs4all.nl [194.109.26.4]) by smtp-vbr2.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4NER46p038602; Tue, 23 May 2006 16:27:04 +0200 (CEST) (envelope-from jtv@xs4all.nl) Received: from 125.24.1.52 (SquirrelMail authenticated user jtv) by webmail.xs4all.nl with HTTP; Tue, 23 May 2006 21:27:05 +0700 (ICT) Message-ID: <11362.125.24.1.52.1148394425.squirrel@webmail.xs4all.nl> In-Reply-To: <36ba2fe20605230446l720a58f2p789cf83521e2736c@mail.gmail.com> References: <36ba2fe20605230446l720a58f2p789cf83521e2736c@mail.gmail.com> Date: Tue, 23 May 2006 21:27:05 +0700 (ICT) Subject: Re: Problems - Libpq++ From: "Jeroen T. Vermeulen" To: "Christiane Brasil" Cc: pgsql-interfaces@postgresql.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/6 X-Sequence-Number: 6127 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