Re: [GENERAL] Linker error VS2008 c++

2011-11-06 Thread Craig Ringer
On 11/04/2011 05:01 AM, Cin123 wrote: I needed a stdint.h header because of uint32_t and that header was missing in vs2008 sa i take it form vs2010 You can't usually do that. If it were that simple, MS would've probably released stdint.h in a later VC++2008 service pack. Why do you actually

[GENERAL] Linker error VS2008 c++

2011-11-05 Thread Cin123
Hi, I'm traing to read a row from a table using visual studio 2008 and libpq. I'm having problem with getting a int from a querry result, below im pasting my code struct subjects_group { unsigned long id; std::string name; }; list QS_PQsql::getGroups() { list lista;

Re: [GENERAL] linker

2006-05-04 Thread Magnus Hagander
You need to link with wsock32.lib. //Magnus > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of srinivasa.n > Sent: Thursday, May 04, 2006 2:33 PM > To: pgsql-general@postgresql.org > Subject: [GENERAL] linker > > Hi I am

Re: [GENERAL] linker

2006-05-04 Thread Martijn van Oosterhout
On Thu, May 04, 2006 at 06:03:11PM +0530, srinivasa.n wrote: > Hi I am new to postgre sql I am trying to execute the sample c code which > are connecting to postgre data base > > It is postgre web site, I am not bale to compile that code it is generating > linker error > > Could any body tell ho

[GENERAL] linker

2006-05-04 Thread srinivasa.n
Hi I am new to postgre sql I am trying to execute the sample c code which are connecting to postgre data base It is postgre web site, I am not bale to compile that code it is generating linker error Could any body tell how to set lib and dill which are required to exec cute the following