Skip site navigation (1) Skip section navigation (2)

Re: c++ mfc: problem with bytea

From: Matthias Weinert <confusingness(at)gmx(dot)de>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: c++ mfc: problem with bytea
Date: 2005-09-03 04:34:08
Message-ID: 431927C0.9020905@gmx.de (view raw or flat)
Thread:
Lists: pgsql-odbc
Ok, i complete rewrote the 3 bugged classes... now it works. i don't
have a clue what went wrong, but who cares ;)

Thx for the answers refering to my next question that'll come for sure :-]
Matthias Weinert

Matthias Weinert wrote:

>Hi,
>
>i've got a problem with RFX_Binary. The maxLength is set to 10000000, in
>the RFX_Binary-Cmd and in the ODBC-Options for MaxLongVarchar.
>
>If i try to recieve data, they are truncated - if i try to AddNew() and
>Update(), an assertion fails... corresponding TRACE is:
>TRACE(traceDatabase, 0, "Error: field address (column %u) has
>changed!\n", nField);
>(dbrfx.cpp, void AFXAPI AfxLoadField(CRecordset& rs, UINT nField, void*
>pvField, LONG_PTR* plLength)
>
>The type of the RFX-Variable is CByteArray (visual studio chose this, so
>i think it should be correct..).
>
>I also tried to use a bugfixed version of RFX_Binary (google for
>RFXBINFX.EXE), but this didn't work either.
>However, i'd like to stick to Postgresql...
>
>If somebody needs the postgresql log... its available at
>http://manofhonor.de/mylog_2308.zip
>
>It'd be GREAT if you solve this....
>
>
>Thanks for help,
>Matthias Weinert
>
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings
>
>
>  
>

In response to

pgsql-odbc by date

Next:From: Marko RistolaDate: 2005-09-03 07:23:04
Subject: Re: Unicode support
Previous:From: Matthias WeinertDate: 2005-09-03 00:19:07
Subject: Re: c++ mfc: problem with bytea

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group