[Libpqxx-general] Retrieving data from large integers fields
João Pedro Alves P. do Nascimento
jpnascim at gmail.com
Fri Feb 6 11:51:10 UTC 2009
Jeroen,
Ok, followed your recommendation and that did the trick. Also in the first
place, my program was trying to use another version of the pqxxd.dll which
wasn't compiled with the PQXX_HAVE_LONG_LONG (my mistake).
Thank you very much for your help,
Joao Pedro
2009/2/5 Jeroen Vermeulen <jtv at xs4all.nl>
> João Pedro Alves P. do Nascimento wrote:
>
> c:\Libpqxx-win32\win32\msvc2003\libpqxx\pqxx\util.hxx(225): error C2027:
>> use
>> of undefined type 'pqxx::string_traits<T>'
>> with
>> [
>> T=unsigned __int64
>> ]
>>
>> It appears to me that there are no valid conversions from string to int64.
>> I've also tried activating the compiler flag PQXX_HAVE_LONG_LONG but then
>> I
>> get problems at runtime (problems with pqxxd.dll entryoint)
>>
>
> Make sure that PQXX_HAVE_LONG_LONG is enabled in
> pqxx/include/config-public-compiler.h. This will tell the library to
> include support for the semi-standard "long long" types, which should
> include this one.
>
>
> Jeroen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/libpqxx-general/attachments/20090206/f73de4c6/attachment.html
More information about the Libpqxx-general
mailing list