Visual StudioC++ 6.0 project configuration for postgresql use

Поиск
Список
Период
Сортировка
От armelle clech
Тема Visual StudioC++ 6.0 project configuration for postgresql use
Дата
Msg-id 3AF17A34.847D01E8@francetelecom.fr
обсуждение исходный текст
Список 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@YAPAXI@Z) already defined in LIBCMT.lib(new.obj)

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

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

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

Предыдущее
От: Nils Zonneveld
Дата:
Сообщение: Re: MS-Query
Следующее
От: Ian Harding
Дата:
Сообщение: Re: Accounting Schema