RE: [DUG]: Rational Rose comments anyone?

2000-12-14 Thread Martin Paulo
Chris, How are you coupling your Rose models with your Delphi code? Does Rational support Delphi, or are you using some third party add on? And if a third party add on, can you please tell us a little about it (such as a web address, price, and general quality)? Thanks Martin Chris Reynolds

[DUG]: Progress while copying files

2000-12-14 Thread Colin Dillicar
Hi all, Copying files in Delphi is not a problem. Showing the progress of the copying on a progress bar seems to be more difficult. If any of you can properly describe the process I'd be delighted. Cheers and Merry Xmas Colin

RE: [DUG]: Interbase

2000-12-14 Thread Patrick Dunford
made up of one part but of many. -- 1 Corinthians 12:14 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20001214 === Created by Mail2Sig - http://pdunford.godzone.net.

[DUG]: accurate timing

2000-12-14 Thread Stephen Barker
Hi all, I have a job coming up early next year which will require accurate timings for process control down to 1ms. The customer already has a dll for VB which covers this, but of course I will be doing this job in Delphi. Any pointers to api's, components etc would be appreciated. thanks,

Re: [DUG]: Progress while copying files

2000-12-14 Thread Mason, John
If you use SHFileOperation doesn't the standard Windows animated progress bar show automatically? Colin Dillicar wrote: Hi all, Copying files in Delphi is not a problem. Showing the progress of the copying on a progress bar seems to be more difficult. If any of you can properly

RE: [DUG]: Interbase

2000-12-14 Thread Mark Derricutt
On Fri, 15 Dec 2000, Patrick Dunford wrote: Don't rush to learn Postgre, it has a more limited implementation than MySQL (for example, doesn't support INNER JOIN :( I thought INNER JOIN's were introduced in PostgreSQL 7? The main thing against MySQL is the lack of transactions (which I

Re: [DUG]: Interbase

2000-12-14 Thread Neven MacEwan
Patrick Re Don't rush to learn Postgre, it has a more limited implementation than MySQL (for example, doesn't support INNER JOIN :( The only reason I'm using it is because it's the database that my ISP chose to install. Spit..splutter..cough..choke PostgreSQL may not have full join syntax

RE: [DUG]: Progress while copying files

2000-12-14 Thread Wes Edwards
The API function CopyFileEx has a callback function for displaying progress. The other way to do it to open a FileStream on source and on target and copy between them yourself - you can track progress as you go. Wes Edwards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[DUG]: Interbase

2000-12-14 Thread Sandeep
Hi I'm converting my Application from Paradox to Interbase. I don't want to change anything in my Application code, hence I have to modify TIBTable to include some functions. They are 1. SetRange 2. CancelRange 3. FindNearest 4. FindKey 5. SetKey How do I go about implementing them in

RE: [DUG]: Interbase

2000-12-14 Thread Myles Penlington
File based and SQL based databases are just not the same - usually require a major rewrite to work with SQL databases to get similar performance. Your best bet would be to derive your own table and for each of the cases outlined generate/create/write your own SQL statements. The other

Re: [DUG]: Interbase

2000-12-14 Thread Mark Derricutt
On Fri, 15 Dec 2000, Neven MacEwan wrote: defined types, 'bout the only thing it doesn't do yet is return a result set from a stored proc Any idea if this is being worked on? -- "We don't guarantee anything except that it will take up disk space..." Apache 2.0alpha5 Disclaimer Now

Re: [DUG]: Interbase

2000-12-14 Thread Mark Derricutt
On Fri, 15 Dec 2000, Neven MacEwan wrote: MySQL with transactions is called MaxSQL and is not GPL Ahh :) I remember seeing the MySQL native components for Delphi also having some kind of "transaction" support, it was some kind of fudge thou... -- "We don't guarantee anything except that it

Re: [DUG]: Progress while copying files

2000-12-14 Thread Steve Peacocke
At 10:38 am 15/12/00 +1300, Colin Dillicar said: Copying files in Delphi is not a problem. Showing the progress of the copying on a progress bar seems to be more difficult. If any of you can properly describe the process I'd be delighted. I have only 2 suggestions for this: 1. Use a

[DUG]: Locking Records

2000-12-14 Thread Sandeep
Hi How do I lock a record before TIBTable goes into edit mode. Sandeep --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to:

Re: [DUG]: Locking Records

2000-12-14 Thread Neven MacEwan
Sandeep You don't, SQL Servers have no exposed concept of a lock If you want the easiest port from an ISAM to SQL I'd recommend you use ADOExpress (tho i've never used it with IB). ADO would give you your filters and locates and then the only change you would have to add would be confict

[DUG]: TBits - array of bits

2000-12-14 Thread Nahum Wild
I'm wanting to create a 2d array of bits where the less memory used to store the array the better. A boolean array is out of the question as a boolean uses up a byte. So I looked in the D5 help and found the TBits class. It is accessed as a boolean but looking at its source code reveals that

Re: [DUG]: Locking Records

2000-12-14 Thread Sandeep
On 15 Dec 2000, at 13:03, Neven MacEwan wrote: Sandeep You don't, SQL Servers have no exposed concept of a lock If you want the easiest port from an ISAM to SQL I'd recommend you use ADOExpress (tho i've never used it with IB). ADO would give you your filters and locates and then the

RE: [DUG]: Locking Records

2000-12-14 Thread Paul Ritchie
How about the BDE? I haven't looked, but I would have thought if anything was built to move from Paradox to Interbase then it would be that. Paul Ritchie. -Original Message- From: Sandeep [mailto:[EMAIL PROTECTED]] Sent: Friday, 15 December 2000 13:21 To: Multiple recipients of

Re: [DUG]: Locking Records

2000-12-14 Thread Neven MacEwan
Sandeep It is possible to lock a record using FIB TDataset. Table.LockRecord is used to lock a record. When the LockRecord function is called an update query is executed. And what does this 'update query' do? All I was stating was that SQL does not expose the concept of record locking

Re: [DUG]: TBits - array of bits

2000-12-14 Thread Rohit Gupta
You can use sets - they are fast but may still be limited to 256 bits (or 8 bytes). To: Multiple recipients of list delphi [EMAIL PROTECTED] Send reply to: [EMAIL PROTECTED] From: "Nahum Wild" [EMAIL PROTECTED] Subject:[DUG]:

Re: [DUG]: Progress while copying files

2000-12-14 Thread Rohit Gupta
I think that rolling your own is the best. I have been meaning to do it as well, partly because all the windows copy thingys lock up the app. I would prefer the app to be able to respond to mice and things while copy is in progress. To: Multiple recipients of list delphi

Re: [DUG]: Progress while copying files

2000-12-14 Thread Rohit Gupta
You can write your own copyfunction - look at borlands fmxutils. Or, one of the shell extensions supposedly have a callback to allow you to do a progress bar... The problem is that it only supports one filemask... which is dratted useless for our purposes. To: Multiple

RE: [DUG]: Locking Records

2000-12-14 Thread Myles Penlington
It could perhaps cheat. I don't know if this would work (or this is what it does). Start transaction update record using it's current records (Do not close the transaction) Let user make edits Then update record again with changes. Now commit the transaction. Real horrible for a SQL engine to

RE: [DUG]: TBits - array of bits

2000-12-14 Thread Myles Penlington
It stores it at the bit level. ie a packed array of physical bits. Looking at the Get method. The BT (Bit Test) instruction moves the reference bit into the carry flag. The SBB moves this into the first bit - the AND is not necessary in my opinion. Myles. -Original Message- From:

RE: [DUG]: TBits - array of bits

2000-12-14 Thread Wes Edwards
Don't worry about the assembler code - that just sets and gets the bits. Looking in the source for TBits.SetSize we see NewMemSize := ((Value + BitsPerInt - 1) div BitsPerInt) * SizeOf(Integer); where BitsPerInt = BitsPerInt = SizeOf(Integer) * 8; Sizeof(Integer) = 4 on my system, so

RE: [DUG]: Progress while copying files

2000-12-14 Thread Patrick Dunford
Use ShFileOperation as there is an option to put up the progress dialog that Windows uses. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Colin DillicarSent: Friday, 15 December 2000 10:39To: Multiple recipients of list delphiSubject:

RE: [DUG]: TBits - array of bits

2000-12-14 Thread Wes Edwards
Another thought ... Are the arrays large with only a few true values? If so a sparse array approach may be better. IE only allocate space to store a true value. You will have to allocate space to tell you which values you have and map the real index to the storage index, but if the number of

RE: [DUG]: TBits - array of bits

2000-12-14 Thread Nahum Wild
Cool bananas. Thanks for the helpfull replies. I guess that if I had looked more closely at the SetSize method I should have figured it out. :) The array will be filled with about 60% true values so it makes sense to store the whole lot. But I have used the concept of just recording where the

RE: [DUG]: Interbase

2000-12-14 Thread Patrick Dunford
Maybe true...but both of them seem to be a long way behind Interbase. Did I get the impression somewhere that GENERATOR is part of the SQL-92 standard and only Interbase supports it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan

RE: [DUG]: accurate timing

2000-12-14 Thread Patrick Dunford
Import the functions from the DLL into Delphi? This should be easy enough looking at the VB source code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Barker Sent: Friday, 15 December 2000 11:01 To: Multiple recipients of list delphi

RE: [DUG]: Interbase

2000-12-14 Thread Patrick Dunford
If INNER JOIN is introduced in PostGre 7.1 then why isn't it documented in the 7.1 documentation? (And I don't mean a pseudo-join created using a comma, for goodness sakes! What about left and right joins?) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

RE: [DUG]: accurate timing

2000-12-14 Thread Stephen Barker
Thanks Patrick but I just found several candidates from the DSP mostly freeware with source. regards, Steve -Original Message- From: Patrick Dunford [mailto:[EMAIL PROTECTED]] Sent: Friday, 15 December 2000 15:12 To: Multiple recipients of list delphi Subject: RE: [DUG]: accurate

Re: [DUG]: Interbase

2000-12-14 Thread Neven MacEwan
Pat Maybe true...but both of them seem to be a long way behind Interbase. Interbase is a fine database but way behind Oracle and MS SQL Did I get the impression somewhere that GENERATOR is part of the SQL-92 standard and only Interbase supports it. And I thought the whole SQL-92 standard