Re: [DUG] HEX to decimal

2011-08-04 Thread Todd Martin
edit2.text := IntToStr(StrToInt('$' + sRaw)); On Thu, Aug 4, 2011 at 5:50 PM, Marshland Engineering marshl...@marshland.co.nz wrote: ** I cannot get the decimal equivalent of the number sent from my micro in Delphi !!! I am running and ATmega (micro) and it sends out a hex number

Re: [DUG] FW: Web development

2011-06-06 Thread Todd
of wildly different security models in the browsers. I absolutely agree. Todd. Me - Java, serverside, javascript client side. Is this too traditional these day? Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy

Re: [DUG] PHP setup (was Web development)

2011-06-06 Thread Todd
. With plugins for CSS, Javascript, HTML, XML UML, as well what could be better? Todd Still love Delphi but PHP seems to be the way to go for web dev. Cheers Rob ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz

Re: [DUG] Web development

2011-06-04 Thread Todd
Hi Steve Have a look at the Symfony framework. It takes a little while to get familiar with, but worth the trouble. It certainly helps you concentrate on PHP business logic rather than HTML,CSS and javascript. Cheers, Todd. Paul. A very informative reply thanks. Gary also suggested PHP but I

Re: [DUG] Validate data entry

2011-06-01 Thread Todd
Hi Wallace Write a procedure for the validation routine in the DataModule. Then call it from the OnKeyPress event in each form. Todd. I'm entering quite a lot of data from different forms into a single database. I need to validate the data on each entry point on each form. If I use

Re: [DUG] API to Windows explorer

2011-05-13 Thread Todd
=resultresnum=2ved=0CB4Q6AEwAQ#v=onepageqf=false Todd. I am writing a program to copy one or more folder trees to a USB drive (an extra backup regime for some Canterbury firms who were not able to get at servers or finding their offsite backups were also inaccessible). I have a nice

Re: [DUG] API to Windows explorer

2011-05-12 Thread Todd
There's a nice app that already does that. It's called DropBox. Todd. I am writing a program to copy one or more folder trees to a USB drive (an extra backup regime for some Canterbury firms who were not able to get at servers or finding their offsite backups were also inaccessible). I

Re: [DUG] Auckland mini-conference

2011-05-05 Thread Todd
Hi Jolyon I would be interested. Todd. Anyhoo, the real point I was getting to is that we've hooked our FinalBuilder builds into FogBugz which we use for our development case list and involved extending the query axes in FogBugz (with a handful of lines of C# code) to allow us

Re: [DUG] Delphi Starter Edition

2011-03-22 Thread Todd
Hi Paul I suggest you get Lazarus 9.30 from the repository and FPC 2.4.2+ http://svn.freepascal.org/svn/lazarus/tags Todd. Experimented with it a while ago, and was surprised that I really could compile a simple project for both Windows and Linux form the same source, the Linux executable

Re: [DUG] Delphi Starter Edition

2011-03-22 Thread Todd
you said you were looking at the starter edition. What's it like for MacOs building? Sorry. I don't know that. Better than Delphi though :) Todd. Paul On 22 March 2011 22:33, Todd todd.martin...@gmail.com wrote: Hi Paul I suggest you get Lazarus 9.30 from the repository and FPC 2.4.2

Re: [DUG] Delphi Starter Edition

2011-03-17 Thread Todd
Hi Paul I don't know what features of the Delphi starter you would most likely use, but have you considered Lazarus and the FPC compiler? Both have made some dramatic advances recently. Todd. Thanks Joylon, From what you are saying that would make it impossible for us to use the Starter

Re: [DUG] Delphi Starter Edition

2011-03-08 Thread Todd
Hi Paul ZEOS certainly connects to MySql. Todd. Looking through the feature matrix, I was not sure, can Delphi Starter connect to an MySql database on local or other server please? Paul On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com wrote: http

Re: [DUG] Migration from JediVCS to SubVersion

2011-03-05 Thread Todd
http://cvs2svn.tigris.org/cvs2svn.html I've been using JediVCS for a number of years now, however the updates for this are becoming more infrequent as time progresses, with the integration of SubVersion support in Delphi XE, and the extensive usage and support for SubVersion I believe it

Re: [DUG] Move mouse to ListItem

2011-03-03 Thread Todd
Pos := Control.ScreenToClient(Mouse.CursorPos); On a keyboard shortcut I want to move the mouse to the start of the currently selected item in a listview. I know how to move the mouse but I'm not sure how to get the x,y position of the selected item in relation to the listview. Any ideas?

Re: [DUG] Stumped

2011-03-03 Thread Todd
Hi Paul Are the numbers always real? ie contain a period. Todd. OK this one has me stumped. It's kind of hard to describe the problem but here goes - I have some code using format to create some log strings. Specifically it creates text output that represents the contents of a dynamic

Re: [DUG] Validating a TListItem exists

2011-02-01 Thread Todd
You can lead a horse to water, but you can't make it drink. That assumes that your code hasn't in the meantime added another list item to the list view and that the memory manager hasn't coincidentally re-used the memory of a previously freed item when allocating the memory for the new item

Re: [DUG] Object is Object vs Object.Classname = 'Object'

2011-01-24 Thread Todd
. I have actually seen a situation where a 3rd party library was modified so that it referenced a class in the main/calling application. Insane! If you're looking at something similar, I would suggest you switch to the first form and fix the crappy design. Todd. Just as a matter of curiosity

Re: [DUG] Variabels stored

2011-01-20 Thread Todd
Hi Wallace I would recommend getting a book on object oriented design. Here's one The object primer by Scott Ambler. Cheers, Todd. Thanks for all the replies. I'll go through them all and see if I can get my head around them. I have to say that after a few months of programming in Dos

Re: [DUG] Variables stored

2011-01-20 Thread Todd
I ONLY use it with record structures. It is a real pain in the arse when visually debuging code and totally unnecessary. Todd. There are very, very, VERY (one more time: */VERY/*) few occasions when *with* should be used, but one that I see no problem with [sic] is: with SomeComboBox do

Re: [DUG] Validating CDS files

2011-01-16 Thread Todd
Hi Matthew Are the CDS files being stored as disk files or in a database? How are they being corrupted? Faulty back up media? Perhaps you could add some meta-data to each file as it is saved. Todd. The driver for the question, is that we have some application client datasets which are put

Re: [DUG] Validating CDS files

2011-01-16 Thread Todd
Agreed. You're not using a remote data broker with Midas are you? Todd. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Todd Sent: Monday, 17 January 2011 14:22 To: NZ Borland Developers Group - Delphi List Subject: Re

Re: [DUG] How's this for inconsistent

2010-11-24 Thread Todd
applications) that need them, without imposing them on everything else. When we want the convenience of having everything to hand whether you want it or not, that's what managed code is for. J *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Todd *Sent

Re: [DUG] Upgrading to XE - Unicode strings questions

2010-11-23 Thread Todd
, regardless of whether the codepoints are composite or not. Todd. ___ 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

Re: [DUG] How's this for inconsistent

2010-11-23 Thread Todd
the inherited method is usually called at the end), but can be safely referenced in the destructor. Todd. Certainly in the case of my code where I fixed this I had specific constructing / destructing state markers (it wasn't a general purpose interfacedobject class but a base class in a far

Re: [DUG] How's this for inconsistent

2010-11-23 Thread Todd
:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Todd *Sent:* Wednesday, 24 November 2010 16:55 *To:* NZ Borland Developers Group - Delphi List *Subject:* [DUG] How's this for inconsistent The Delphi developer who implemented TInterfacedObject obviously considered

Re: [DUG] How's this for inconsistent

2010-11-23 Thread Todd
] *On Behalf Of *Todd *Sent:* Wednesday, 24 November 2010 6:15 p.m. *To:* NZ Borland Developers Group - Delphi List *Subject:* Re: [DUG] How's this for inconsistent Actually, this would be better function TamObject._Release: Integer; begin Result := InterlockedDecrement(FCount); if (FCount = 0

Re: [DUG] How's this for inconsistent

2010-11-23 Thread Todd
and so could be made subject to some conditional compilation flag. *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Todd *Sent:* Wednesday, 24 November 2010 6:15 p.m. *To:* NZ Borland Developers Group - Delphi List *Subject:* Re: [DUG] How's

Re: [DUG] Upgrading to XE - Unicode strings questions

2010-11-22 Thread Todd
DoSomethingWithOneChar() is trying to achieve. Does the function even make sense for non-ANSI characters? Todd. The problems are that length(string1) looks like it cannot be safely used - as unicode characters may include 2 codepoints and length(string1) highlights that there is a difference between the number

Re: [DUG] Upgrading to XE - Unicode strings questions

2010-11-22 Thread Todd
DoSomethingWithOneChar() is actually trying to achieve. Does the function even make sense for non-ANSI characters? Only a more concrete example can be discussed with meaning. Todd. The problems are that length(string1) looks like it cannot be safely used - as unicode characters may include 2

Re: [DUG] Barcamp possibly?

2010-10-27 Thread Todd
Hi Jolyon CodeCompletion in all the places he shows yep, I knew all that stuff. He basically shows N variations of the same thing. I was kinda hoping he would also mention using dotted unit names, like 'pseudo' namespsaces - code completion works REALLY well when you have units named and

Re: [DUG] Delphi Specials

2010-10-21 Thread Todd
, when all you really want is a hamburger. Rather annoying. So the response to that has been to go to Burger King. I love metaphors. Todd. My comments in a lovely purple. ;-) *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Jolyon Smith *Sent:* Friday

Re: [DUG] Assembler

2010-09-27 Thread Todd
code by rewriting the ForAll() method and avoid the hassle altogether. Thanks, Todd. Cheers, Paul. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

Re: [DUG] Assembler

2010-09-26 Thread Todd
; After some reading, it seems the EAX register initially contains the memory address of the data block occupied by the TSparseList instance. So I'm wondering if this would work. addl TSparseList.FList, %eax Any suggestions? Todd. movl 12(%eax), %eax So I could do something like this? i

[DUG] Assembler

2010-09-22 Thread Todd Martin
].TSparseList.FList JMP TSparsePointerArray.ForAll end; Does anyone know what the first line does? More importantly, does anyone know how to convert the Intel style assembler code to ATT? Thanks, Todd ___ NZ Borland Developers Group - Delphi mailing list

Re: [DUG] Assembler

2010-09-22 Thread Todd
Hi I guess the thing that's throwing me here, is the use of [EAX].TSparseList Is it casting the register as a pointer to a TSparseList instance, in order to get the offset to the FList field? I'm wondering what the equivalent is in ATT. Todd. Hi all The following code appears

Re: [DUG] Assembler

2010-09-22 Thread Todd
Hi Paul I guess the thing that's throwing me here, is the use of [EAX].TSparseList Is it casting the register as a pointer to a TSparseList instance, in order to get the offset to the FList field? I'm wondering what the equivalent is in ATT. Well, there are no casts in assembler per se

Re: [DUG] Assembler

2010-09-22 Thread Todd
. Thanks, Todd. Cheers, Paul. ___ 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] Assembler

2010-09-22 Thread Todd
].TSparseList.FList Clearly it doesn't like the square brackets. Todd. Hi all Bad form to reply to myself but... Looking on the freepascal site, here is a bug report (dated today no less) about some bugs in the freepascal assembler that are using intel syntax on x86_64. Actually, it's

Re: [DUG] Icon

2010-07-20 Thread Todd Martin
Why not just use Gimp? I think it disappeared in later Delphi, I use any of IrfanView, PhotoFiltre, Paint.Net - all freeware - Irfanview is a converter and viewer, the other two are excellent image editors and convert too. What do others use? John

Re: [DUG] unit source code size

2010-07-04 Thread Todd Martin
It sounds like there is far too much coupling between your classes, if that is the case. I am constantly refactoring code, but sometimes the form unit just grows bigger and bigger. Regards Leigh -Original Message- From: delphi-boun...@delphi.org.nz

Re: [DUG] unit source code size

2010-07-04 Thread Todd Martin
What do the columns represent in your business logic? Are you handling every event on every column? I am using topgrid. It needs to handle different logic based on which column tsGrid.CurrentCell.DataCol user keyed for KeyDown events. May I ask how to separate the logic to a class? Let's

Re: [DUG] Importing data from Excel

2010-05-27 Thread Todd Martin
Hi David Have you considered using TADOQuery/TADOTable with the Microsoft.Jet OLE DB provider or MS ODBC provider for Excel? http://delphi.about.com/od/database/l/aa090903a.htm Todd Has anyone used EMS Advanced Data Import VCL from SQL Manager.net to import excel data from a file without

Re: [DUG] Importing data from Excel

2010-05-27 Thread Todd Martin
are you planning on passing the local Excel file to your server? Todd. Interesting idea. We want something that can read the Excel file without Office or indeed any consumer Microsoft products being installed. In some cases it will be running on a server with the user accessing the application

Re: [DUG] Remote debugging

2010-04-27 Thread Todd Martin
Hi Jeremy I'll ask the obvious. Did you compile the application with debugging info? Project - Options - Compiler Todd. I am setup remote debugging on a server so I can trace a problem, BUT, for some reason it doest stop on break points. I am using Delphi 2010. I have tried setting

Re: [DUG] Script Engines for use with Delphi

2010-03-21 Thread Todd Martin
Hi Alistair PaxScript supports Basic, C, Pascal and Javascript scripts http://eco148-88394.innterhost.net/paxscript/ Todd. We're looking to integrate a scripting engine of some sort into a Delphi app. Possibilities are: 1) DelphiScript from RemObjects 2) Python for Delphi 3) TMS

Re: [DUG] Another reason for Delphi to move to MultiPlatforms

2009-10-20 Thread Todd Martin
Hi Jolyon The UI layer may need to be specific to the supported platform, but hopefully the business logic will be portable. Yep, which is why I think a single-source cross platform *V*CLX is a pipe-dream. Haven't FPC/Lazarus already achieved this? I would be more excited about

Re: [DUG] Presentation in Christchurch - any other meetings in Chch?

2009-10-14 Thread Todd Martin
) enabled a language is the better positioned it will be. This is my gut feeling as well. With all due respect Jolyon, your poll is unscientific and you can't draw any meaningful conclusions from it. Todd. ___ NZ Borland Developers Group - Delphi mailing

Re: [DUG] Image manipulation

2009-10-13 Thread Todd Martin
(melander.dk/delphi/gifimage/). Both are freely available. Todd. ___ 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

Re: [DUG] Auckland Event

2009-10-13 Thread Todd Martin
posting, just wanted to thank everyone for coming along today. The turnout was really pleasing, and I hope you found it useful. With those sorts of numbers we’ll be easily able to justify holding more NZ events. Todd. ___ NZ Borland Developers Group

[DUG] Free Pascal

2009-09-23 Thread Todd Martin
Hi Jolyon One thing I dislike about Lazarus, is the lack of visual form inheritance. The FreePascal compiler itself, seems perfectly ok. Todd. For the uninitiated: A FreePascal license costs $0. Annual upgrades cost a further $0 per annum for minor updates and $0 for major updates. Source

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

2009-09-21 Thread Todd Martin
Hi Kyley it benefits none of us if their pricing is not sustainable.. The key figure is not price, but price x sales. You might be prepared to pay more, but if increasing the price drops the sales to a trickle it will benefit no one. I'd be inclined to think that the Upgrade is too low, and

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

2009-09-20 Thread Todd Martin
it further. I can't say I can see Engineers being comparable to our profession, all the work they do its very well known and all the problems have been solved already. As a profressional engineer, I have to say that statement is complete and utter rubbish. Todd

Re: [DUG] Upgrade considerations

2009-09-20 Thread Todd Martin
Hi Rodney Q3 - The NZ price from Developers Inc. web page seems a bit higher when converted (possibly old exchange rate?). Should I buy from US web site or should I contact Developer Inc. to get the updated price? What are the differences? I think you need a US credit card to purchase from

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

2009-09-20 Thread Todd Martin
Hi Malcolm It seems to me that a sliding scale on the upgrade price would be the most universally accepted solution. Customers who upgrade more frequently would benefit, while those who don't are not simply discarded. Todd. Hi all, I’ve just read through quite a few of the messages

Re: [DUG] Faxs

2009-09-17 Thread Todd Martin
Hi Jeremy Haven't your people heard of encrypted email? Hi All I seem to remember that there was an AT command that when you sent a fax via a modem, it sent out the fax handshaking signal. At the moment, when I send a fax via the modem to a real fax (that I had to bring up from the

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

2009-09-17 Thread Todd Martin
I guess that's why GC doesn't appeal *to*me*... I appreciate the power and flexibility that manual memory management provides but at the same time I'm not always forced to put up with the drudgery that that entails. So GC offers me nothing much that I don't already have but takes away

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

2009-09-16 Thread Todd Martin
Hi Steve That is an absolute outrage. Anyone worth their salt would never sign such a contract. Todd. This is fairly common over here for programmers to have to sign away all applications programmed at home. Steve Peacocke On Thu, Sep 17, 2009 at 8:20 AM, Leigh Wanstead lei

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

2009-09-16 Thread Todd Martin
went and did plumbing using their van, their gas, their tools, and you pocketed the cash do you really think that its a reasonable thing? Software is no different.. give and take. Todd. Get used to it. As I stated, it is fairly common now (not always, please don't take

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

2009-09-16 Thread Todd Martin
a standard document/licence for that purpose, or do just copyright the code? Todd. ___ 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

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

2009-09-16 Thread Todd Martin
Every field in a Python class is publicly accessible. That is OO hell! When they fix that I'll take notice. Personally I am waiting for Python done right. Eg Fast, with decent UI libraries and designers. Regards Sean Cross CIO ___

Re: [DUG] Exporting to excel autoformat

2009-09-14 Thread Todd Martin
Hi Stephen Have you tried adding a single quote as the first character? I have already tried this, and yes that works, but now I have double quote around all my numbers which I do not want. ___ NZ Borland Developers Group - Delphi mailing list Post:

Re: [DUG] CPU usage

2009-08-19 Thread Todd Martin
Isn't that what a low priority thread is used for? Is there a simple way to find simple measure of current CPU usage? Reason - have some housekeeping tasks that I would prefer to not run if the computer is loaded at the moment, so an easy way to check before starting it would be great.

Re: [DUG] Open Office automation

2009-07-14 Thread Todd Martin
a chance to play with it yet. Todd. Gary Benner Semantic Limited http://www.semantic.co.nz - Online Education, e-Commerce, Software Development Systems Design 123 Internet Limited http://www.123.net.nz

Re: [DUG] Embarcadero article

2009-06-16 Thread Todd Martin
What I want to know is, when are Embarcadero going to support interfaces on TObject? Todd. Personally I don't care much about 64 bit. Cross platform would be nice, but realistically we have 1 or 2 inquiries out of hundreds regarding support for mac or linux - no one has ever asked me

Re: [DUG] Embarcadero article

2009-06-16 Thread Todd Martin
a notification system which dispatched an event whenever a reference was added or released on a TObject instance, there would be no need for IInterface/IUnknown. TObject would not need any extra methods and therefore would not incur any overhead. Todd. I don't want to get to deep into a discussion

Re: [DUG] Translating WinAPI C++ header - any suggestions?

2009-06-16 Thread Todd Martin
Hi Conor Check out this link http://rvelthuis.de/articles/articles-convert.html Have you considered using h2pas in Free Pascal? or SWIG for Delphi http://www.wmhelp.com/download/swig-delphi.rar Todd. I'm needing to call a Windows API function introduced in Vista from my Delphi app, but I

Re: [DUG] Embarcadero article

2009-06-15 Thread Todd Martin
natively compiled code without the need for a runtime engine distinguishes Delphi enough. Surely C/C++ is still widely used in MacOS and Linux for that very reason. Todd. Jolyon Smith wrote: | I just don't see it working unless it is possible to take | sophisticated applications using

Re: [DUG] Embarcadero article

2009-06-15 Thread Todd Martin
natively compiled code without the need for a runtime engine distinguishes Delphi enough. Isn't C/C++ is still widely used in MacOS and Linux for that very reason. Todd. Jolyon Smith wrote: | I just don't see it working unless it is possible to take | sophisticated applications using the current

Re: [DUG] Website presentation

2009-04-05 Thread Todd Martin
Hi Gary Thanks for the tip about the web developer toolbar. I use Firefox and Firebug, but the toolbar is a nice extra. Todd. This topic is best covered by the css tutorials at www.sitepoint.com. You will need to have a graphics tool such as photoshop, fireworks, gimp etc to produce

Re: [DUG] Translations

2009-02-16 Thread Todd Martin
Hi Stefan Shouldn't this be =Sind Sie sicher, dass Sie diese Datei bearbeiten wollen? Which Google translates as Are you sure you want to edit this file? However, I agree, technical terms can be translated horribly. Todd I expect this particular sentence Are you sure you want to delete

Re: [DUG] Delphi on Linux question

2009-02-09 Thread Todd Martin
Hi Robert I don't think you can use DBExpress with Free Pascal. If you switch to ZEOS database components, it should compile in both Delphi and Lazarus. Todd. Hi We foolishly created a Windows / Delphi 2007 SOAP service to a MYSQL DB. We tested it (using Windows and Apache2

Re: [DUG] Adding button to form

2008-10-13 Thread Todd Martin
Are you using form inheritance? Hi Try copying a button on the panel that does show, does it show? (there might be code hiding components based on something obscure - like tag value)? What about changing the name of the new button to that of the old (rename old) does it work now. Must

Re: [DUG] iPhone

2008-08-31 Thread Todd Martin
by offering an open-source cross-platform compiler while focusing their commercial efforts on a (drag and drop component) plugin for Eclipse and VCL extensions. Just my 2c. Todd. However - and I keep wishing for this - is Embarcadero or anyone working on a version of Delphi for OSX? Now

Re: [DUG] anyone need work? Fwd: Delphi Contract Role

2008-08-29 Thread Todd Martin
Is that a google translation? Hi Well it is right in India Delphi prgramer are very less. I lived in Mumbai and i strated my delphi career from it before moving to London. But well i can say bangalore is the palce in india where delphi programer are lot and good quality one i can say

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Todd Martin
that. Todd. Maybe you need to work with BMP - there seem to be behind the scenes limitations with what works with JPGs I wrote a program to resize JPEGS, I found there were some tricks about what you could do, it seems in general its less puzzling in Delphi to work with BMP but you can easily

Re: [DUG] Interfaces

2008-08-07 Thread Todd Martin
That is exactly right, but why would you want to, when ISpeakable supports makeNoise() anyway? You can still pass your TPerson object into a method(AObject : INoiseable) without problems. Todd. However if I change my TPerson to the following TPerson = class(TInterfacedObject, ISpeakable

Re: [DUG] Interfaces

2008-08-06 Thread Todd Martin
Hi Alister Are you implementing IXMLResidentialType via delegation? Todd. I'm having some fun with interfaces I have two interfaces IXMLResidentialType and IAuctionable. I have a class which implements these two interfaces TXMLResidentialType = class(TXMLNode, IXMLResidentialType

Re: [DUG] OO Programming

2008-07-29 Thread Todd Martin
Well I would say a Software Architect must be an order of magnitude higher than a Software Engineer, given the lowly status of engineering in NZ. Todd. Steve As my father was fond of saying (When we agreed ) Great minds think alike followed by Fools seldom differ Thanks for clarifying

Re: [DUG] Delphi 3 Upgrade

2008-05-29 Thread Todd Martin
A few years ago I purchased a copy of Delphi 6 Pro from someone in the US and had no problems re-registering it with Borland. Paul A Norman wrote: Dear Richard, You have posted here in past years that licenses can be arranged to be transfered if it is clear they have not been used for

Re: [DUG] Delphi 3 Upgrade

2008-05-27 Thread Todd Martin
Why can't you re-compile the DCLDB30.BPL as a Delphi 5 package? Todd. Hi All, Unfortunately the answer is no. Where can I go to get a professional version at a decent price? TradeMe? Must be almost a give-away by now. Any ideas? Thanks Colin - Original Message - From

Re: [DUG] DBX4 drivers for firebird

2008-05-19 Thread Todd Martin
Have you looked at ZEOSlib database objects? Todd. Hi all, Our company has just recently ported from Delphi 7 to Delphi 2007. When we try to insert a blob into a firebird table using DBX4 (dbexpress) we were getting the following message Incorrect values within SQLDA structure

Re: [DUG] Delphi ftp server component

2008-04-27 Thread Todd Martin
Ok. I have to ask. What is wrong with the Indy ftp server? Todd. Good morning, Can anyone recommend a open source/free Delphi ftp server component except Indy? TIA Have a nice day Regards Leigh ___ NZ Borland Developers Group - Delphi mailing

Re: [DUG] List Issues

2008-04-22 Thread Todd Martin
Likewise. I am in the same boat. Weird eh. Ross Levis wrote: I received this today (Wednesday) at 9:38am along with a gaggle of other messages from the group. They all seem to accumulate somewhere for a day or so and then I get all of them in one go. This is not the case with my usual

Re: [DUG] Interpreting HL7

2007-12-12 Thread Todd Martin
Hmmm. HL7 is pretty extensive. Have a look at www.interfaceware.com Todd. On Thu, 13 Dec 2007 15:49, Rohit Gupta wrote: I have to interpret HL7 packets and merge them into our database. Has anyone any experience with them or can they recommend a translation component. Not that its

Re: [DUG] Skins in delphi

2007-11-28 Thread Todd Martin
Have you tried googling for +delphi +themes Todd. On Wed, 28 Nov 2007 18:44, Vikas... wrote: Hi, i am developing an application in delphi 5, i want to add skins feature to it. Can anyone suggest me any open source tool or free component to wortk with Delphi 5. Or is there is any

Re: [DUG] Salaries in NZ?

2007-09-13 Thread Todd Martin
Vote Labour and I'm sure they'll find a way to make it happen! On Fri, 14 Sep 2007 13:21, Jeremy North wrote: Leigh Wanstead wrote: So the point is that does not make much difference by earning a lot as salary earner. Sorry about little off topic ;-) Huh? I think it certainly helps

[DUG] Subversion Question

2007-09-11 Thread Todd Martin
? The only way I can think of doing this is by dumping the repository as text into grep and searching for the function name. But grep seems to choke on a large input stream. Or I can dump to a file and use file search tools. Is there a better way? Todd

Re: [DUG] Delphi - why the need for dcus

2007-09-09 Thread Todd Martin
compiled. Todd. On Mon, 10 Sep 2007 10:20, Rohit Gupta wrote: This applies to all versions of Delphi. When the compiler has the dcp, map and bpl, why does it still need the dcus ? Does anyone know ? Q2. If it does need the dcu then what is the dcp for ? Q3. The crux of the problem, why does

Re: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Todd Martin
Why not just use a TTabControl and instantiate each page as a frame embedded in a panel, when the user changes tab? Todd. On Tue, 28 Aug 2007 11:46, Steve Peacocke wrote: Searching the newsgroups and web came up with a blank on this one so I thought I'd throw it to you people to see if any

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Todd Martin
Yes it will work! TMemo uses TMemoStrings On Wed, 01 Aug 2007 16:20, Steve Peacocke wrote: No, Thanks, but sorry that won't work. BeginUpdate will be for Data enabled components. This is a simple tmemo. Thanks anyway Steve On 01/08/07, Neven MacEwan [EMAIL PROTECTED] wrote: Steve

Re: [DUG] basic question

2007-07-25 Thread Todd Martin
What do you mean Nevan? You can call TShowOff.Static1() from way back in Delphi, if it is declared as Chee Wee Chua pointed out. class variables were introduced later. Todd. On Wed, 25 Jul 2007 20:18, Neven MacEwan wrote: Dennis Class methods have been around since Delphi 2. Where have

Re: [DUG] PHP4Delphi

2007-07-25 Thread Todd Martin
that haven't changed is discarded. How slow and inefficient. I would have thought at least an observer pattern could have been introduced here. Todd. On Thu, 26 Jul 2007 11:39, Alister Christie wrote: I agree, the Delphi for PHP name just doesn't seem right to me - they apparently had big debates

Re: [DUG] Find the currently executing source line

2007-07-15 Thread Todd Martin
unit. Then put break points on each function. By running with the debugger, you should be able to eventually determine which function is raising the error, before you get into the CPU stack. Todd. Steve Peacocke wrote: Thanks Rohit. It tells me that the error may not be in my source code

Re: [DUG] firebird query parameters behaving oddly

2007-07-05 Thread Todd Martin
The date string is probably not being escaped correctly. Perhaps try ParamByName(‘from’).AsDate = FromDat; ParamByName(‘to).AsDate = ToDat; Tracey wrote: Hi all I have in my code many areas where queries are “strung” together then executed. These queries are parameterized. However I am

Re: [DUG] Problem with minimize button.

2007-06-26 Thread Todd Martin
Perhaps what is more surprising is why a Normal window appears when you start the app with its run property set to minimised. On Wed, 27 Jun 2007 14:53, Phil Scadden wrote: Might have breakthrough. If you start the program from a shortcut and you set the run property to minimised instead of

Re: [DUG] Firebird 1.5 - unavailable database

2007-06-21 Thread Todd Martin
Hi Steve Download FlameRobin (www.flamerobin.org) and use that to setup/test your database connections. Todd. Steve Peacocke wrote: Gidday all, I've successfully created my database on my local drive. After hours and hours of real frustration, I am in need of assistance on this. Normally

Re: [DUG] Using mdi forms in dunit test

2007-05-20 Thread Todd Martin
Did you create a parent MDI form first? On Mon, 21 May 2007 11:47, Sean Cross wrote: Has anyone managed to use mdi forms in a unit test? I keep getting the error Cannot create form. NO MDI forms are currently active. I have tried creating and showing an mdi form first without any luck. I

Re: [DUG] Memo files Lines

2007-04-19 Thread Todd Martin
You'd probably be better off to use a non-visual object (TStringList) to do this, since it sounds like you don't need to see the G-Code. see TStringList.LoadFromFile() Todd. Marshland Engineering wrote: Hi I'm just starting with Delphi. I need to read a text file (G-Code for CNC) and write

Re: [DUG]: Hash

2003-10-22 Thread Todd Martin
Do you have Delphi 6? See TStringHash.HashOf() Todd. - Original Message - From: Ross Levis To: Multiple recipients of list delphi Sent: Thursday, October 23, 2003 1:58 PM Subject: [DUG]: Hash Does anyone have a simple hash routine whichtakes a string

Re: [DUG]: IXMLDocument

2003-10-07 Thread Todd Martin
:= Document.ParentNode; end; You need to make sure you call CoInitialize() for each thread that creates the XML COM server object. I usually use Excel/Word VBA to view the properties/methods of the XML objects, rather than looking through the type library. Todd. - Original Message - From

  1   2   >