[DUG]: D6 installation
Having not installed two Delphi's on the same machine before ... Is it safe to install D6 to directory ..\.Borland\D6\... given I have D5 in ...\Borland\D5\...? Thanks Russell Belding --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: Listbox items (Was: Re: [DUG]: array of TStringList)
Patrick Dunford wrote: {trimmed} Note that the Objects property still contains the reference until that list item is deleted.The question I am not at all sure about is whether Delphi frees the memory associated with each object reference when the list item is removed from the list. Thanks Patrick for your detailed description of object lists. I have now successfully implemented linked objects to a listbox. Regarding your question above, I doubt very much Delphi frees the memory from the created objects. If there is a Create then surely there must be a Destroy. Cheers, Ross. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: [DUG]: D6 installation
Having not installed two Delphi's on the same machine before ... Is it safe to install D6 to directory ..\.Borland\D6\... given I have D5 in ...\Borland\D5\...? Yes. Deepak Shenoy Agni Software http://www.agnisoft.com --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: TvarRec : Array of Const
I want to modify a single item of an Array of TVarRec. I suspect I need to iterate through each element (except my nonidentical element) and create a new Array to achieve this (I may need to change one element before supplying the array to the TDataset.InsertRecord method). I assume that SecondArray[1] := FirstArray[1] will copy elements across arrays and that for the nonidentical element, rather than SecondArray[X] := 123, I need to pass it a TvarRec. Am I on the correct path here? Any pointers would be appreciated before I trot down this path. Thanks James Low Programmer Baycom Software Laboratories ph: 07 575 6602, fax 07 575 6616 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Re: Listbox items (Was: Re: [DUG]: array of TStringList)
Ross Delphi definitely does not free objects when the list is free'ed. So beware ! Paul Lowman Lowman Consulting Ltd. Embedded Systems Software [EMAIL PROTECTED] --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: TvarRec : Array of Const
James, your're from Baycom? Are they now a Delphi house? Remember me to Bill George if he's still around - we were using his accounting modules in our Aluminium Window system back in '82/'83 written in dBase II under CP/M. regards, Steve -Original Message- From: James Low [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 July 2001 09:23 To: Multiple recipients of list delphi Subject: [DUG]: TvarRec : Array of Const I want to modify a single item of an Array of TVarRec. I suspect I need to iterate through each element (except my nonidentical element) and create a new Array to achieve this (I may need to change one element before supplying the array to the TDataset.InsertRecord method). I assume that SecondArray[1] := FirstArray[1] will copy elements across arrays and that for the nonidentical element, rather than SecondArray[X] := 123, I need to pass it a TvarRec. Am I on the correct path here? Any pointers would be appreciated before I trot down this path. Thanks James Low Programmer Baycom Software Laboratories ph: 07 575 6602, fax 07 575 6616 -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
[DUG]: Delphi 6 Registration
Hi We have loaded D6 Pro this morning and have been trying to register it. We are using our Borland Community identity and we are getting a Connection Failed when the registration is trying to connection to the Registration Server. As anyone had this and know how to get around it? Thanks Eion McIntosh PPCS Ltd --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: Delphi 6 Registration
I go mine this morning too! I tried using the register.borland.com site. Wasn't even finished -Original Message- From: Eion McIntosh (CHCH) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 July 2001 11:08 To: Multiple recipients of list delphi Subject: [DUG]: Delphi 6 Registration Hi We have loaded D6 Pro this morning and have been trying to register it. We are using our Borland Community identity and we are getting a Connection Failed when the registration is trying to connection to the Registration Server. As anyone had this and know how to get around it? Thanks Eion McIntosh PPCS Ltd --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: Delphi 6 Registration
When I tried to see if I could do the registration online from Borland.com and product information, it said 'Delphi 6 Registration - Activated when you install your purchased copy of Delphi 6' Eion -Original Message- From: James Sugrue [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 11 July 2001 11:32 To: Multiple recipients of list delphi Subject: RE: [DUG]: Delphi 6 Registration I go mine this morning too! I tried using the register.borland.com site. Wasn't even finished -Original Message- From: Eion McIntosh (CHCH) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 11 July 2001 11:08 To: Multiple recipients of list delphi Subject: [DUG]: Delphi 6 Registration Hi We have loaded D6 Pro this morning and have been trying to register it. We are using our Borland Community identity and we are getting a Connection Failed when the registration is trying to connection to the Registration Server. As anyone had this and know how to get around it? Thanks Eion McIntosh PPCS Ltd -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: [DUG]: Delphi 6 Registration
What actually is this D6 Registration/Activatation? Sounds something like the hideous Microsoft XP Activation stuff --On Wednesday, July 11, 2001 11:47 AM +1200 Eion McIntosh (CHCH) [EMAIL PROTECTED] wrote: 'Delphi 6 Registration - Activated when you install your purchased copy of Delphi 6' -- Vi de udødelige inviterer dere til å slå dere sammen med oss --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
RE: Listbox items (Was: Re: [DUG]: array of TStringList)
In my app I handled this (in a TListView) by writing an event handler for the OnDeletion event. This allowed me to call the Clear method freely without worrying about memory. Referring to my previous code, this is the event handler: procedure TMainForm.ServicesListDeletion(Sender: TObject; Item: TListItem); var PLong:PLongInt; //This event handler frees the dynamic variables allocated when the list items were //created. These variables are pointed to by each list item's Data property. begin PLong:=PLongInt(Item.Data); if PLong nil then Dispose(PLong); end; Unfortunately there does not appear to be a similar way of handling the deletion of items in a list or combo box. In a TList as I noted you can simply override the destructor. Here is the class I used in a reporting system: TCounterList = class(TList) [...] destructor Destroy; override; procedure Empty; end; and its implementation destructor TCounterList.Destroy; begin Empty; inherited Destroy; end; procedure TCounterList.Empty; begin while (Count 0) do begin Items[Count-1].Free; Delete(Count-1); end; end; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Lowman Sent: Wednesday, 11 July 2001 09:29 To: Multiple recipients of list delphi Subject: Re: Listbox items (Was: Re: [DUG]: array of TStringList) Ross Delphi definitely does not free objects when the list is free'ed. So beware ! Paul Lowman Lowman Consulting Ltd. Embedded Systems Software [EMAIL PROTECTED] -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of unsubscribe delphi Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/