Could be a debug/release mismatch of the msvcr80 dll between the libpqxx and libpq dlls. What does Dependency Walker show?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DEV
Sent: Thursday, August 10, 2006 3:22 PM
To: [email protected]
Subject: [libpqxx-general] Almost there

Okay, I am able to compile my app with out any errors  my code is currently:

 

#include "stdafx.h"

 

#using <mscorlib.dll>

 

#include <pqxx/pqxx>

 

using namespace System;

 

using namespace PGSTD;

using namespace pqxx;

 

 

int main()

{

    connection Conn("dbname=template1");

 

      return 0;

}

 

I have even copied and pasted test001.cxx into my app and I get the same error:

 

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

 

I have no clue what I am missing.  I have the comerr32.dll file and the krb5_32.dll in the apps directory.  Anyone have a clue?

 

 

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

Reply via email to