Thank Yiou Bart and Jeroen and Everyone else!
Could you help me with a step by step explanation on how to make a simple call to the database?
Here is what I have done:
1. Created a c++ project in visual studio
1. Created a c++ project in visual studio
2. copy pasted the code in the test1.cxx
3. changed row 19 from "connection C" to
connection C("dbname=POKERTRACKER user=postgres password=passw host=localhost");
4. It compiles.
5. but when I try to run it, I get this error (a window pups up):
"Debug Assertion Failed!
Program: ...l Studio Projects\databasekoppling1\Debug\databaskoppling1.exe
File:dbgdel.cpp
Line: 52
File:dbgdel.cpp
Line: 52
_expression_: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)"
The error occurs when the row: "work T(C, "test1");" is being executed.
Does anyone know what is wrong?
Kind Regards
Reza
2006/3/6, Bart Samwel <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
> Hi
>
> I did both things, and got this output (see attached file).
> Does this mean that is has been correctly compiled?
Yes, it does! Congratulations, you've just created yourself a working
libpqxx! I'm sorry that it took so long, the VC++ support really wasn't
good enough, thank you very much for being so patient and working with
us to get all of this to work. I suggest that you skip the test suite,
it isn't that important, and that you just go and do the things you want
to do. If you have any problems while using libpqxx, don't hesitate to ask!
--Bart
_______________________________________________ Libpqxx-general mailing list Libpqxx-general@gborg.postgresql.org http://gborg.postgresql.org/mailman/listinfo/libpqxx-general