Well the basics are working.  I had to comment out 

#include <afxwin.h>

>From my stdafx.h file and it compiles are runs!


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart
Samwel
Sent: Wednesday, August 23, 2006 9:40 AM
To: DEV
Cc: [email protected]
Subject: Re: [libpqxx-general] Almost there... Again Win32 GUI

DEV wrote:
> nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator 
> delete(void *)" ([EMAIL PROTECTED]@Z) already defined in
msvcrtd.lib(MSVCR71D.dll)
> 
> LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to 
> '/INCREMENTAL:NO' specification
> 
> nafxcwd.lib(apphelp.obj) : error LNK2001: unresolved external symbol 
> __mbctype
[...]

Hmmm. nafxcwd.lib is the MFC runtime library, while msvcrtd.lib is the 
non-MFC library. Apparently you're not supposed to use both at the same 
time, but your project is pulling them both in through some path or 
another... Again, make sure that all libraries use the same runtime 
libraries, MFC on/off settings, etc. :-/
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general



_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to