Re: [DUG] MSSQL and Schemas

2010-07-10 Thread Peter Ingham
On 11/07/2010 12:28 a.m., Sandeep Chandra wrote: > Hi > > I have got a MSSQL(2005) database that has objects in a schema. Things work > fine on development machine but when I try to put the database on another > machine I am not able to run the stored procedures belonging to the schema. You may h

Re: [DUG] [computing] Sizeof record gives error

2011-08-24 Thread Peter Ingham
Another attempt to reply... First thing to do is determine if the crash occurs in the procedure call, on the subsequent assign, or in between. Give this a try: procedure TUserClass.Log(const LogType: TLogType; const Args: array of const ); var LogData: PLogData; TempArgs : TConstArra

Re: [DUG] [computing] Sizeof record gives error

2011-08-25 Thread Peter Ingham
lem, regardless of how many > items the array holds. > > I smell compiler magic in the background. > > Cheers > > D > > On 25/08/11 17:29, Peter Ingham wrote: >> Another attempt to reply... >> >> First thing to do is determine if the crash occurs in t

Re: [DUG] Rare access violations reading listitem.subitems

2007-08-18 Thread Peter Ingham
EAccessViolation will be raised if the referenced address is invalid. However it is quite possible that the referenced address is quite valid - it just happens to point at some other piece of data that is being relied upon. Code should never rely on an EAccessViolation to trap occasions where

Re: [DUG] Subversion users? Anybody used Devrace Athlant"sourcecontrol expert"?

2007-09-26 Thread Peter Ingham
Conor Boyd wrote: Thanks all. I know TortoiseSVN, and have been using it for quite a while already. ;-) I suppose I was mostly enquiring about IDE integration, and it would appear that most people aren't interested in that. There is an IDE integration for SVN in recent JCL releases. Have not

[DUG] Multi Threading and HyperThreaded CPUs

2007-11-12 Thread Peter Ingham
A few days ago, a statement was made to the effect that using Hyperthreading gave no advantage to a Multi-threaded application. This did not sound at all correct, so I carefully constructed a test program to investigate the actual behaviour in a variety of configurations. The comments below

Re: [DUG] Just for the odd job.

2009-07-15 Thread Peter Ingham
Marshland Engineering wrote: > I have been using Delphi 4 for the few projects I have. > > Embarcadero Technologies are a offering 2 for 1 purchase. > > Why is Delphi 2009 – Professional Upgrade and Delphi 2007 for Win32 R2 > Professional Upgrade both the same price. > > Is it worth the upgr

[DUG]: [DUG-OFFTOPIC] Looking for Inventory solution

2001-04-16 Thread Peter Ingham
I am looking for software for a small-scale manufacturing/retail situation: Tracking - Inventory - Orders - Customers Needs to handle BOM expansion. Production of Picking Lists, Invoices etc. If you have a relevant product, please send details to: [EMAIL PROTECTED] (please be careful that you

Re: [DUG]: Checking a process is running

2001-04-27 Thread Peter Ingham
On Tue, 20 Mar 2001 16:32:56 +1200, you wrote: >Afternoon all, > >Is there any way to see if a process is running (under NT 4.0) if I know the >ImageName but not the Process ID? > >I need to do a check to see if a particular process is running for an end of >day routine. Look up PDH.dll (Perfor

Re: [DUG]: Dispose Memory

2001-05-07 Thread Peter Ingham
On Mon, 7 May 2001 11:14:30 +1200, you wrote: >Dispose shouldn't cause an access violation - it's a good idea to set the >variable to nil after disposing and to test for nil before disposing. FYI Borland snuck a nice routine "FreeAndNil" into D5. It can be used with any object or pointer to Obj

Re: [DUG]: Exe Size

2001-06-05 Thread Peter Ingham
On Tue, 5 Jun 2001 22:45:15 +1200, you wrote: >Hi All a Puzzle for us has been a windows error message from Win 95 98 machines when >they >go to open the Exe saying windows has insufficient resources and to close some >programs. >This does not help and win 95 2000 machines go fine. >The exe is

Re: [DUG]: TimeSeparator on form?

2001-06-26 Thread Peter Ingham
> >1. Initialisation sections for all units run in a somewhat arbitrary order >based on which units use which. My recollection is that the "arbitrary order" chosen exactly matches the order of the uses clauses in the .dpr!

Re: [DUG]: Single MASSIVE table. Recommendations?

2001-07-18 Thread Peter Ingham
On Tue, 17 Jul 2001 09:27:38 +1200, you wrote: >> So how long does an insert take if done on a blank/new table with the same >> structure?? > >Quite lengthy. When table was only a couple of million records, this could take >5-8+ hours plus if the blank table had indices. However, SQL*LDR could sh

Re: [DUG]: Speaking of things massive...

2001-07-18 Thread Peter Ingham
On Tue, 17 Jul 2001 09:02:01 +1200, you wrote: >Yeah, a TList laps it up and begs for more :-) But I was trying to avoid >manually writing copious manual drawing/scrolling routines. Be aware that the performance of TList drops off significantly for large populations unless you set the capacity b

Re: [DUG]: Duplicate an Object & Data

2001-08-14 Thread Peter Ingham
roup - 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/ -- Peter Ingham Lower Hutt New Zeala

Re: [DUG]: New D4 Native Access Driver

1999-02-08 Thread Peter Ingham
On Mon, 25 Jan 1999 10:57:35 +1100, you wrote: >Hi All..I got my new D4 today, and reading the box, it says it has a NEW >access 97 native Driver. > >has anyone tired this, and how did it fear.like the D3 one ? or is it >faster? Much faster, Generally fixed up. Still doesn't do mult

Re: [DUG]: Version Control Wanted

1999-06-09 Thread Peter Ingham
On Thu, 03 Jun 1999 16:55:20 +1200, you wrote: >At 01:16 pm 3/6/1999 +1200, Grant Black said: >>Visual Source Safe does everything you want with very little fuss and >>can integrate into Delphi (not that I think VSS integration with the IDE >>is really needed), with a cheap 3rd party add-on (VSS

Re: [DUG]: Freeware XML Class??

2000-02-23 Thread Peter Ingham
On Tue, 22 Feb 2000 16:33:17 +1100, you wrote: >G'Day All, > >I was wondering if anyone could recommend a set of freeware classes to do >basic XML encoding and decoding? Has anyone had a good look at the XML >classes that were shown in the Delphi Informant (Current issue I think). I >have not and

Re: [DUG]: Timing less than 1ms

2000-03-11 Thread Peter Ingham
On Fri, 10 Mar 2000 10:05:14 +1300, you wrote: >Luke, > >See "QueryPerformanceCounter" & "QueryPerformanceFrequency" in the >Delphi/Windows help files - it is the high high-resolution performance >counter functions - these may or may not work on your machine. These are the best timers to use to

Re: [DUG]: QuickReports Preview Problems

2000-06-06 Thread Peter Ingham
On Tue, 6 Jun 2000 14:36:56 +1200, you wrote: >I am having a problem with Print Previewing some reports in Quick Reports. > >I am using Delphi 4 Update 3. > >When a user selects Print Preview and Previews the report all is fine, but >if the same report is previewed 3 or so times an access violati