X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 48BB13A4512 for ; Wed, 3 Nov 2004 19:41:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65439-08 for ; Wed, 3 Nov 2004 19:41:18 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id F31BE3A3EED for ; Wed, 3 Nov 2004 19:41:15 +0000 (GMT) Received: from jedi.behrens.de (p508CD10E.dip0.t-ipconnect.de [80.140.209.14]) by Mail2.KONTENT.De (Postfix) with ESMTP id AD96D3880C0 for ; Wed, 3 Nov 2004 20:41:12 +0100 (CET) Received: from anakin (anakin.behrens.de [192.168.150.17]) by jedi.behrens.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id iA3Jf3C13409 for ; Wed, 3 Nov 2004 20:41:03 +0100 Message-Id: <200411031941.iA3Jf3C13409@jedi.behrens.de> From: "Lothar Behrens" To: pgsql-odbc@postgresql.org Date: Wed, 3 Nov 2004 20:41:04 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: ODBC understanding problem X-mailer: Pegasus Mail for Win32 (v3.01b) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/7 X-Sequence-Number: 4621 Hi, I have found, that my class wrapper must do a SQLSetPos(..., SQL_REFRESH, ...); after deleting a row. This solved a bug that I am searching for. Now after deleting a row and moving around in the cursor, I get a free memory problem due to double deleting a buffer. This happens in the ODBC driver, but I think, that I am missing something in my code. I am using one data row for showing and modify the data and another row to add new data. So I have two rows, but one row is passed to the bind columns function. Must I do something with the deleted row in my bound columns before moving to another row ? Thanks for any help Lothar ---- My home: www.lollisoft.de ----------------------------- Lothar Behrens | Independent: lothar.behrens@gmx.de Rosmarinstr 3 | My public project: 40235 D=FCsseldorf | http://sourceforge.net/projects/lbdmf | -> Need comments, please visit :-)