[Libpqxx-general] Has anyone succeed in using libpqxx in Visual Studio 2008 C++ ???
Jeroen Vermeulen
jtv at xs4all.nl
Tue Feb 24 16:33:02 UTC 2009
Ole Tetzschner wrote:
> But when I tried to run the program in DEBUG-mode the program breaks in
> crtlib.c:
>
> #if defined (_CRT_CHECK_MANIFEST)
> if (!_check_manifest(hDllHandle))
> {
> __try
> {
> _NMSG_WRITE(_RT_CHECKMANIFEST);
> }
> __except( EXCEPTION_EXECUTE_HANDLER )
> {
> OutputDebugString(_GET_RTERRMSG(_RT_CHECKMANIFEST));
> DebugBreak();
>
>
> In RELEASE mode, the program starts and when I press the button I got an
> exception as expected :) but what about DEBUG-mode???
Not being familiar with your platform I can only guess at what this
check means, but from what I understand, if you want to do a Debug build
you need to link in Debug versions, not Release versions, of
_everything_. Mixing build modes seems to be the most common source of
runtime problems with this compiler.
Jeroen
More information about the Libpqxx-general
mailing list