Hi I haven't encountered such problems with my last Delphi 7 / mySQL 5 project, allthough I was using varchar(20).
-----Original Message----- From: advanced_delphi@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: 06 January 2006 00:17 AM To: advanced_delphi@yahoogroups.com Subject: [advanced_delphi] Digest Number 761 There are 2 messages in this issue. Topics in this digest: 1. mysql 5 From: Fernando Salaices <[EMAIL PROTECTED]> 2. Re: Deallocating dynamic arrays From: Márlon Brum <[EMAIL PROTECTED]> ________________________________________________________________________ ________________________________________________________________________ Message: 1 Date: Wed, 4 Jan 2006 19:47:45 -0800 From: Fernando Salaices <[EMAIL PROTECTED]> Subject: mysql 5 Hi all. I have a problem with Mysql 5.0 and Delphi 7. Hi have a simple table, with three VARCHAR(50) columns. I access this table using ADO components, specifically TADOQuery. The problem is that Delphi interprets the varchar columns as TMEMOField, and in consecuence I cannot display a TMEMO field in a DB Grid. I don't know how to make Delphi interpret the varchars as such. Has any one experienced this problem before? ________________________________________________________________________ ________________________________________________________________________ Message: 2 Date: Thu, 5 Jan 2006 09:43:09 -0300 From: Márlon Brum <[EMAIL PROTECTED]> Subject: Re: Deallocating dynamic arrays Have you tried to set the Array Length to 0 before setting it to nil? Try that with all the array dimensions. On 12/14/05, Alexandre Hirzel <[EMAIL PROTECTED]> wrote: > > Hello! > > I have a problem deallocating a non-rectangular array. It is > declared as an array of array of cardinal, and then along the way, > it's first dimension gets increased several times, and its 2nd > dimensions too. The length of the 2nd dimension varies. > > Then, at the end of the process, I just set the array to nil, and I > get an access violation. > > The funny thing is that the AV occurs only when I work with very > large arrays, not with small ones. I've used CheckMem to check there > was no memory leak involved. However, I believe this error might be > linked to the way dynamic array are treated. > > Could someone give me a clue about these issues? > > Thanks in advance, > > * > * >O< > Alexandre > > ------------------------------ > YAHOO! GROUPS LINKS > > > - Visit your group "advanced_delphi<http://groups.yahoo.com/group/advanced_delphi>" > on the web. > > - To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED]<advanced_delphi-unsubscrib > [EMAIL PROTECTED]> > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------ > -- Atenciosamente, Márlon Medeiros Brum [This message contained attachments] ________________________________________________________________________ ________________________________________________________________________ ------------------------------------------------------------------------ Yahoo! Groups Links ------------------------------------------------------------------------ This mail is marked as non spam by Pinjo revealer, spamfilter technology. ( http://www.pinjo.nl ) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/advanced_delphi/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/