Re: [pgadmin-support] I need help, about c++ pointer

2009-07-15 Thread Quan Zongliang
Another pointer error. ponters are created by: int tablecount = 0; SQLWCHAR **tabledata, ***tablelist; while (true) { sqlrc = SQLFetch(tableshstmt); if (sqlrc != SQL_SUCCESS && sqlrc != SQL_SUCCESS_WITH_INFO) break; if (m_dsnmaxcatnamelen)

Re: [pgadmin-support] I need help, about c++ pointer

2009-07-15 Thread Quan Zongliang
> > delete[] m_curstmtlabels; It's really a stupid mistake. XD Thanks --- Quan Zongliang quanzongli...@gmail.com -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://ww

Re: [pgadmin-support] I need help, about c++ pointer

2009-07-15 Thread Guillaume Lelarge
Hi, Le mercredi 15 juillet 2009 à 14:04:27, Quan Zongliang a écrit : > [...] > I ceate some pointers with: > > SQLWCHAR** stmtlabels = m_srcodbc->GetResultColLabels(); > m_curstmtlabels = new SQLWCHAR*[m_curstmtcolsnum]; > for (colidx=0; colidx if (stmtlabels[colidx]) >

[pgadmin-support] I need help, about c++ pointer

2009-07-15 Thread Quan Zongliang
Hi, all I ceate some pointers with: SQLWCHAR** stmtlabels = m_srcodbc->GetResultColLabels(); m_curstmtlabels = new SQLWCHAR*[m_curstmtcolsnum]; for (colidx=0; colidxhttp://www.postgresql.org/mailpref/pgadmin-support