Re: [DUG] SetWindowPos HWND_TOPMOST

2010-08-25 Thread Maurice Butler
even office 10 has this problem on win7 so it is an inheint windows problem :( Maurice -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jeremy Coulter Sent: Tuesday, 24 August 2010 10:51 a.m. To: NZ Borland Developers Group - Delphi

Re: [DUG] TComPort issue

2010-03-10 Thread Maurice Butler
do you flush the buffer of the comport before you start trying to use it or do you have a continous stream of data coming in? -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Willie Juson Sent: Wednesday, 10 March 2010 11:14 a.m.

Re: [DUG] What is the future for Delphi programmer?

2010-01-12 Thread Maurice Butler
using learning? Siemen's PLC Maurice Butler ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject

Re: [DUG] Hash function for string

2009-09-21 Thread Maurice Butler
md5, crc32 - all standard stuff - dependng what you are after Maurice -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Monday, 21 September 2009 5:10 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG]

Re: [DUG] A change in upgrade policy coming from Embarcadero

2009-09-20 Thread Maurice Butler
Embarcadero Maurice, Rockwell PLC is quite a specialised system isn't it? its not as generic as delphi.. Just a curiosity, not a comparison On Sat, Sep 19, 2009 at 10:55 PM, Maurice Butler likema...@quicksilver.net.nz wrote: Like wise - professional Software developer was self employed for 10

Re: [DUG] A change in upgrade policy coming from Embarcadero

2009-09-19 Thread Maurice Butler
Like wise - professional Software developer was self employed for 10 years, now receiving income by salary from a large international company. I wrote an application using D3, which is still running reliably in a 24x7 manufacturing envionment, weigh and labelling product every 3 seconds, and

Re: [DUG] BDS2006 or Rad 2007 the web

2009-09-03 Thread Maurice Butler
The problem with citrix is $ and configuration issues, it can be a dog to setup and get going, but rock solid once it is going Maurice -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Sean Cross Sent: Wednesday, 2 September

[DUG] Proposed Patents Bill 2009

2009-06-18 Thread Maurice Butler
From the FSF: http://en.swpat.org/wiki/New_Zealand Submissions against this bill close on the 2nd of July. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

RE: [DUG] Screen sizes :-)

2007-09-26 Thread Maurice Butler
Hi, The other advantage of tritron is that for photgraphic editing you can calibrate to have accurate colours - lcd is limited in its colour depth so the colours on the screen are not close enough for professional work Maurice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

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

2007-08-11 Thread Maurice Butler
Bad memory? - try memtest86+ http://www.memtest.org/ Maurice -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Levis Sent: Saturday, 11 August 2007 6:02 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] Rare access violations

RE: [DUG] Best way to make this thread safe

2007-05-18 Thread Maurice Butler
Synchronization Techniques Building an Example The Plain Thread Using Critical Sections Using a Mutex Using a TCriticalSection VCL Object -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maurice Butler Sent: Friday, 18

RE: [DUG] Best way to make this thread safe

2007-05-18 Thread Maurice Butler
See also http://sklobovsky.nstemp.com/community/threadmare/threadmare.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maurice Butler Sent: Friday, 18 May 2007 5:13 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Best way

RE: [DUG] Best way to make this thread safe

2007-05-17 Thread Maurice Butler
May be of use - the trick is at the bottom - Initialization Finalization Maurice unit ErrorLog; interface function Logfile(comment:string):boolean; implementation uses sysutils, ascii, syncobjs {required for critical section}, Forms{required for access to application

RE: [DUG] Best way to make this thread safe

2007-05-17 Thread Maurice Butler
1. does not use vcl 2. access to file is serialized so only one thread at the time can access it 3. proven in real time manufacturing enviornment for over 10 years 4. if you don't understand why it is thread safe you shouldn't be using threads -Original Message- From: [EMAIL PROTECTED]

RE: [DUG]: Range check error

2002-12-12 Thread Maurice Butler
Do you use gettickcount as this will have different values on evey machine Maurice Butler Like Magic Ltd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Howard Sent: Wednesday, 11 December 2002 2:52 p.m. To: Multiple recipients of list delphi

Re: [DUG]: SQL Poser

2001-09-05 Thread Maurice Butler
It pays to rebuild the indexes automatically on startup of the first instance. ie. if you can get exclusive use of the table when you start rebuild the indexes. This way any crashes, power offs etc are automatically recovered from. This seems to required more often with paradox then dbase.

Re: [DUG]: If you had to choose (win98se or WinMe)

2001-07-06 Thread Maurice Butler
Just for my 2 cents worth. ME is almost as stable as 98 now but you have to have IE5.5/agp graphics card/pci sound with all the patches and latest drivers for everything. Maurice Butler - Original Message - From: Jeremy Coulter [EMAIL PROTECTED] To: Multiple recipients of list delphi

[DUG]: Work wanted

2000-03-16 Thread Maurice Butler
I have had 7 years experience programming Turbo Pascal 5, 6, 7 and Delphi 3+4. Project experience from concept to documentation. Based in Temuka, willing to travel to Christchurch or Dunedin for meetings, planning to be in Auckland 6 -10 April. Maurice Butler Like Magic Limited PO Box 89

RE: [DUG]: Detect running within IDE

1999-09-28 Thread Maurice Butler
this only detects if Delphi is running on the machine not if the program is running within the IDE if (FindWindow('TPropertyInspector','Object Inspector') = 0) then //running on development machine else //not running on development machine Maurice Butler Like Magic Ltd -Original

RE: [DUG]: Barcoding

1999-07-27 Thread Maurice Butler
Checkout Ticket 2000 by hexcom in Christchurch http://www.hexcom.com also try LabelView in the US http://www.labelview.com You get great label design tools and huge range of barcode printers, all for a minimum effort. I have used LabelView to drive barcode printers. I just feed the information

RE: [DUG]: Delphi3 and 4

1999-05-31 Thread Maurice Butler
I prefer {$IFDEF DELPHI3} instead of {$IFDEF VER110} so you are not dependant on incremental complier upgrades. Maurice -Original Message- From: INTERNET:[EMAIL PROTECTED] Sent: Monday, May 31, 1999 6:33 PM To: Multiple recipients of list delphi Subject: RE: [DUG]: Delphi3 and 4 The

RE: [DUG]: Thread Memory Leak

1999-05-24 Thread Maurice Butler
I have been using MemCheck with I found on the net somewhere I describes it self as the "the ultimate memory troubles hunter" Created by: Jean Marc Eber Vincent Mahon, SociÊtÊ GÊnÊrale/MARC/SGOP/RD. The version I have got is D3. I works really well at notifying you of memory leaks and what code

RE: [DUG]: D4 IE5

1999-05-24 Thread Maurice Butler
D3 and D4 stop IE4 and IE5 working when a program is paused during debugging -Original Message- From: INTERNET:[EMAIL PROTECTED] Sent: Monday, May 24, 1999 11:54 PM To: =COMPUSERVE:INTERNET:[EMAIL PROTECTED] Subject: [DUG]: D4 IE5 Is anyone else getting lockups in D4 startup after

[DUG]: DDE Client

1999-05-10 Thread Maurice Butler
I have written a test DDE Server and Client. The server updates an number of variables every 1.5 seconds. Using MS Excel as the Client to my test server all the variables are updated correctly. The first battle won :-) The VCL creates a seperate window to handle the messages for the DDE in

RE: [DUG]: VCL COM Subsytem Thread Safety.

1999-05-03 Thread Maurice Butler
If are you dynamically creating and destroying threads in your app be careful. Delphi 4 has got the same bug as all other versions in the thread management. They all require a critical section at the indicated points. I have also found that with using data databases that if you create a new

RE: [DUG]: VCL COM Subsytem Thread Safety.

1999-05-02 Thread Maurice Butler
Delphi Exception handling is definately not thread safe, and 90% of the VCL is not thread safe including some of the thread management routines. I have no experience with COM. Maurice -Original Message- From: Myles Penlington [mailto:[EMAIL PROTECTED]] Sent: Monday, 3 May 1999 09:03 To:

RE: [DUG]: Application version information

1999-04-22 Thread Maurice Butler
I use the following, I had to make one small change to move the BuildFlags function to being a public function rather than a private function. Maurice TVersionInfoResource v2.30 Description: A component to read version info resources. It is intended for Delphi 3, but should work with any

[DUG]: Call backs

1999-04-18 Thread Maurice Butler
Hi all, Something I couldn't find in the win95 api help. Short of writing a small test program, does a call back execute using the thread of the calling program or the thread of called program. Thanks Maurice Butler Like Magic Ltd

RE: [DUG]: Call backs

1999-04-18 Thread Maurice Butler
: Re: [DUG]: Call backs It would have to be the caller wouldn't it? The callee can't see the callers stack... Maurice Butler [EMAIL PROTECTED] on 19/04/99 12:31:15 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] cc:(bcc: Peter Jones

RE: [DUG]: RE: Fixing the VCL (LONG)

1999-03-11 Thread Maurice Butler
-Original Message- From: INTERNET:[EMAIL PROTECTED] Sent: Thursday, 11 March 1999 22:22 To: Multiple recipients of list delphi Subject: Re: [DUG]: RE: Fixing the VCL (LONG) Good Idea, I have been slowly encapsulating the date/time functions into a type (ie rap all the date and time

[DUG]: missed files in D4 update 3

1999-03-07 Thread Maurice Butler
Delphi 4 Update Pack #3 Additions http://www.borland.com/devsupport/delphi/download_files/d4u3menu.zip English) (Created 2/26/99, Size: 71,850 bytes) These files were omitted from Update Pack #3. Included are the updated MENUS.PAS and related files. These are needed if compiling without run-time

Re: [DUG]: D4/IB5.5 and I.E.4

1999-02-24 Thread Maurice Butler
I have found on the site that I am currently working at is that the wins server often forgets all the static mapping that have entered into it and the Lmhost file is the only option for static IP address. The log in script copies a new Lmhost down to the workstation from a master file on the

Re: [DUG]: Date Selection Component Madness...

1999-02-17 Thread Maurice Butler
the MaxDate/MinDate on entry if you are trying to limit the user to entering dates in a limited range (i.e. today and the last week) Maurice Butler Like Magic Ltd -Original Message- From: Mark Derricutt [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Thursday

[DUG]: Tquery

1999-02-08 Thread Maurice Butler
Maurice Butler Like Magic Ltd (025) 273 9248

[DUG]: Help with SQL and ODBC

1999-02-08 Thread Maurice Butler
as SELECT Palletexport.Barcode FROM "PalletExport.DBF" Palletexport WHERE Palletexport.ACK_MESS = '00-OK' and it works fine. ":OneWorld:testdta.F59JL02" is on the MS SQL server and "PalletExport.DBF" is the local table. ---------

Re: [DUG]: Help with SQL and ODBC

1999-02-08 Thread Maurice Butler
t the individual SQL statements work. I haven't dealt with single queries that access multiple databases before. Cheers. BJ... -- From: Maurice Butler[SMTP:[EMAIL PROTECTED]] Reply To: [EMAIL PROTECTED] Sent: Wednesday, 02 December, 1998 14:58 To: Multiple recipients of list delphi Subject: [

Re: [DUG]: DateTime Format

1999-02-08 Thread Maurice Butler
Look in help under "date/time formatting variables" as a starter, in particular at var ShortDateFormat: string; or var LongDateFormat: string; hold the system format Maurice Butler Like Magic Ltd 025 273 9248 -Original Message- From: Yanbo Li [EMAIL PROTECTED] To

[DUG]: Windozes Printing

1999-02-07 Thread Maurice Butler
to real time as it must work hand in hand with three other apps on the same PC. Maurice Butler Like Magic Ltd(025) 273 9248 --- New