X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id BE2C39FA5CE for ; Fri, 16 Jun 2006 06:15:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 51458-09 for ; Fri, 16 Jun 2006 06:15:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from new-mail.nec.com.cn (new-mail.nec.com.cn [211.100.22.21]) by postgresql.org (Postfix) with ESMTP id C6CFB9F9CAA for ; Fri, 16 Jun 2006 06:15:46 -0300 (ADT) Received: from internal-mail.nec.com.cn ([172.28.88.254]) by new-mail.nec.com.cn with ESMTP id k5G94J3J018682 for ; Fri, 16 Jun 2006 17:04:19 +0800 (CST) (envelope-from zhaox@necas.nec.com.cn) Received: from mailsv.necas.nec.com.cn (localhost.localdomain [127.0.0.1]) by internal-mail.nec.com.cn (Postfix) with ESMTP id 1301F178008 for ; Fri, 16 Jun 2006 17:20:22 +0800 (CST) Received: from [172.28.9.250] (jianglong.necas.nec.com.cn [172.28.9.250]) by mailsv.necas.nec.com.cn (8.11.6/8.11.6) with ESMTP id k5G94K816274 for ; Fri, 16 Jun 2006 17:04:20 +0800 Message-ID: <449273D2.40200@necas.nec.com.cn> Date: Fri, 16 Jun 2006 17:03:14 +0800 From: zhaoxin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Memory Leak ? References: <4487E76B.4000805@necas.nec.com.cn> <20060609112005.GD8153@soptik.pzkagis.cz> <448FF5A6.1060202@necas.nec.com.cn> <449082F3.60008@tpf.co.jp> <44913243.7030708@necas.nec.com.cn> <449159E6.4090200@tpf.co.jp> <449207DE.3090102@necas.nec.com.cn> <20060616080805.GA25182@soptik.pzkagis.cz> In-Reply-To: <20060616080805.GA25182@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MAIL: new-mail.nec.com.cn k5G94J3J018682 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/122 X-Sequence-Number: 7870 >>>Could you tell me your connection string ? >> >>My connection string is like this (with ODBC default settings): >> >> SQLConnect(hdbc,(SQLCHAR*)szDSN, (SQLSMALLINT)strlen(szDSN), >> (SQLCHAR*)szUID, (SQLSMALLINT)strlen(szUID), >> (SQLCHAR*)szAuthStr, (SQLSMALLINT)strlen(szAuthStr)); > > > Hiroshi needs to know the value for szDSN. > ok,I see . my connection string is below: *************************** char szDSN[20]; char szUID[20]; char szAuthStr[20]; ... sprintf(szDSN,"postgre_8.02\0"); sprintf(szUID,"test\0"); sprintf(szAuthStr,"test\0"); ... *************************** is there some problem here ?