Visual StudioC++ 6.0 project configuration for postgresql use

From: armelle clech <armelle(dot)clech(at)francetelecom(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Visual StudioC++ 6.0 project configuration for postgresql use
Date: 2001-05-03 15:33:08
Message-ID: 3AF17A34.847D01E8@francetelecom.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I'm trying to create a MVS C++ 6.0 project to be able to query my
postgresql database.
I build all needed libraries (libpq.dll,libpqdll.lib,libpq.lib). All are
in release mode.

I can't succeed linking my project. I always get link errors (see
below).

Does anyone as any example of such project, or any information about
this errors ?

Thank you for your help.

Armelle

nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2(at)YAPAXI@Z) already defined in LIBCMT.lib(new.obj)

nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator
delete(void *)" (??3(at)YAXPAX@Z) already defined in LIBCMT.lib(delete.obj)

ApiSQL.obj : error LNK2001: unresolved external symbol "void __cdecl
std::_Xlen(void)" (?_Xlen(at)std@@YAXXZ)
Release/testAPISql.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Browse pgsql-general by date

  From Date Subject
Next Message Hunter Hillegas 2001-05-03 15:35:53 Starting the Server at Boot
Previous Message Philip Hallstrom 2001-05-03 15:29:49 Re: psql with PHP question