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

2009-10-14 Thread Richard Vowles
Malcolm forgot to show a really cool feature - one he showed in Christchurch - the ability to add your own data visualizers for code debugging. Apparently there are some 3rd party providers already! 2009/10/14 John Bird johnkb...@paradise.net.nz -It looks like Embarcaero are on a good track

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

2009-10-14 Thread Richard Vowles
Don't take this the wrong way, but the Internet is really good for drawing like people together more than people who disagree. All of the social networking concepts really encourage you to follow people who are like-minded - blogs, facebook, twitter, etc. I wouldn't be surprised that people who

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

2009-10-14 Thread Jeremy North
My next blaise magazine article will be about creating them. I'm doing one for TColor, if someone wants to suggest another type or two, let me know. Can't remember when the article is due, I should check that out! On Wed, Oct 14, 2009 at 5:15 PM, Richard Vowles rich...@developers-inc.co.nz

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

2009-10-14 Thread Jolyon Smith
Ø Its a less certain thing as its still the future, but its my guess likely in 5 years netbooks/laptops and mobile and phone OS will largely kill desktop PCs and in time likely Windows too, as there is not much sign they will be the leading candidate for mobile devices in 5 years. Hence the more

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

2009-10-14 Thread Jeremy Coulter
How about a voice of reason...just give use ALL the featuresNOW !! J To be honest tho. I could do with Cross Platform now as well as 64bit now. But maybe there is a quicker win with cross platform for Embarcadero than 64bit. Jeremy From: delphi-boun...@delphi.org.nz

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

2009-10-14 Thread Todd Martin
but its my guess likely in 5 years netbooks/laptops and mobile and phone OS will largely kill desktop PCs and in time likely Windows too, as there is not much sign they will be the leading candidate for mobile devices in 5 years. Hence the more cross platform and new UI (read touchscreen)

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

2009-10-14 Thread Jolyon Smith
Checkout the global ClustrStats. http://www4.clustrmaps.com/counter/maps.php?url=http://www.deltics.co.nz/blo g It may be written in NZ but it is read the world over. J I think it’s a bit of a stretch to suggest that visitors of my blog are somehow part of an unofficial 64-bit “club”

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

2009-10-14 Thread Jolyon Smith
With all due respect Jolyon, your poll is unscientific and you can't draw any meaningful conclusions from it. I can draw more meaningful conclusions from that than from a 10:1 number plucked seemingly from the air. shrug ___ NZ Borland Developers

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

2009-10-14 Thread Jolyon Smith
I'd also add that it wasn't a poll. I passed on the news (the headline didn't even hint at what the news was, nor the summary presented by DelphiFeeds). There wasn't much in the way of any potential pre-qualification of readers of that blog post. In that sense it was perhaps *more* scientific

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

2009-10-14 Thread Paul Hectors
re: 64bit vs cross platform I totally understand why Jolyon and others that want 64 bit are peeved. Embarcadero has mislead them a number of times now and I was shocked to here in Auckland that it will be another 2 years. However I am not one of those people waiting for 64 bit. I think

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

2009-10-14 Thread David Brennan
Interesting. But if the future is handheld and mobile OSes (which it almost certainly is in terms of numbers at least) then is Linux and Mac cross platform really the next stepping stone to take? I don't think so. Surely the next step to take would be developing a MobileVCL which is a cut

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

2009-10-14 Thread David Brennan
Exactly. People say they really need a drink. You tell everyone that they ARE going to get a drink soon. Then you ask again if there is anything they want. Even if people are parched as (or beached as ;-) they're more likely to think of what other things they want than repeating that they need a

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

2009-10-14 Thread Paul Hectors
Hi David, But if the future is handheld and mobile OSes (which it almost certainly is in terms of numbers at least) then is Linux and Mac cross platform really the next stepping stone to take? I don’t think so. I agree with you. My preference would be for a mobile VCL for the platforms you

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

2009-10-14 Thread Richard Vowles
2009/10/14 Jolyon Smith jsm...@deltics.co.nz Ø Its a less certain thing as its still the future, but its my guess likely in 5 years netbooks/laptops and mobile and phone OS will largely kill desktop PCs and in time likely Windows too, as there is not much sign they will be the leading

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

2009-10-14 Thread Jolyon Smith
I hadn't seen that ( http://www.10gui.com ) but it makes a lot of sense I've actually been wondering if Synaptics hadn't already realized that they could tap a new market by proving a *desk*pad. Imagine a mouse mat which *is* the mouse - essentially an oversize laptop touchpad. As you

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

2009-10-14 Thread Jolyon Smith
The Wacom Bamboo is pretty close but something about it doesn't smell right.. only US$99 ? It also looks just a little bit too small, although maybe in practice that's not as big an issue as it might appear to me. At that price it's tempting to get one just to find out!

[DUG] Stupid /easy question

2009-10-14 Thread Robert martin
Hi After the D2010 presentation yesterday I decided I should actually use some of the D2007 features I had not gotten around to using. Specifically the For .. in construct. I am sure I am missing something but here iss what I want to do I have the following 'old school code' (note the base

Re: [DUG] Stupid /easy question

2009-10-14 Thread Jeremy North
The enumerator for TStringList returns a pointers not the specific object type so you still need a typecast. var CountryAddressFormat: Pointer; begin for CountryAddressFormat in Self do begin Strings.AddObject( TCountryAddressFormat(CountryAddressFormat).CountryName,

Re: [DUG] Stupid /easy question

2009-10-14 Thread Jeremy North
It should read - FCountryList: TStringListTCountryAddressFormat; Do you really not prefix your Local, Global, Field and Parameters with nothing? I'm a L, _, F and A person myself! On Thu, Oct 15, 2009 at 8:29 AM, Jeremy North jeremy.no...@gmail.com wrote: The enumerator for TStringList

Re: [DUG] Stupid /easy question

2009-10-14 Thread Robert martin
Hi Yeah I read examples of how to add enumerators but since TObjectList already has one I didn't think I needed to. Guess I do. Seems like it is a bit too much work for basic (small) classes not frequently used (such as the one im working on). Will give it a go anyway :) Thanks Rob

Re: [DUG] Stupid /easy question

2009-10-14 Thread Robert martin
Hi I understand the issue now. I will follow Jolyon's recommendation and create an enumerator for this otherwise its not much use if I need to typecast anyway (may as well use my original code). I use f for local class variables. No prefix for local variables. Don't really use globals. Use a

Re: [DUG] Stupid /easy question

2009-10-14 Thread Jolyon Smith
As has been mentioned you can use the built in enumerator, but that will only yield Pointer values, so you would then have to typecast the results, or you should be able to use absolute to achieve the typecast declaratively in the var declarations: var addrFormatEnum: Pointer; addrFormat:

Re: [DUG] Stupid /easy question

2009-10-14 Thread Robert martin
That worked a charm :) Cheers Jolyon Smith wrote: As has been mentioned you can use the built in enumerator, but that will only yield Pointer values, so you would then have to typecast the results, or you should be able to use absolute to achieve the typecast

Re: [DUG] Stupid /easy question

2009-10-14 Thread Roger Kingaby
It's years since I saw anybody use the absolute keyword. The number of times I've had to explain what it does and why you'd use it:-) What better example could you find. Regards Roger On 15/10/2009, at 11:11 AM, Robert martin wrote: That worked a charm :) Cheers Jolyon Smith wrote:

Re: [DUG] Auckland Event

2009-10-14 Thread Ian Drower
Hi all I tried sending this a couple of days ago, so maybe things have moved on but... First, thanks for the event Malcolm, I enjoyed getting the information and your presentation style. Certainly seems there's life after Borland in the product. Time morning or afternoon both are fine with me.

Re: [DUG] Stupid /easy question

2009-10-14 Thread Sean Cross
If you are using a version of Delphi with generics, you should be able to use a generic list and it'll work fine. eg var myList : TObjectListTMyObject; Regards Sean Cross CIO Catalyst Risk Management PO Box 230 Napier 4140 DDI: 06-8340362 Mobile: 021270 3466 Visit us at

Re: [DUG] Stupid /easy question

2009-10-14 Thread Jolyon Smith
Delphi 2007 was mentioned - no (Win32) generics. And that creates a not insignificant problem with using generics and other new language features in code from (or that may be shared with) existing (i.e. pre-D2009) projects: - They were introduced in Delphi 2009, along with the

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

2009-10-14 Thread Eric A
John, I have also been through the same era and agree. They should agressively pursue the cross-platform verison but make a decent job of it this time. Eric From: johnkb...@paradise.net.nz To: delphi@delphi.org.nz Date: Wed, 14 Oct 2009 16:56:47 +1300 Subject: Re: [DUG] Presentation

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

2009-10-14 Thread Paul A Norman
Dear Paul, The only hassle is porting from D7 to D2010 with respect to Unicode. After reading a very comprehensive blog by Jolyon Smith, I am quite concerned about D.s current unicode support. I've had enough trouble with it in other environments to want to face the maze that appears to be

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

2009-10-14 Thread Jeremy North
I strongly suggest forming your own opinion. While I don't read the blog I've converted a number of applications to Delphi 2009 / 2010 and haven't come across anything that was a great hassle to fix. Perhaps I didn't run into any issues raised in the blog, who knows. You never will know if you

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

2009-10-14 Thread Jeremy Coulter
On that note, and because I have done NO reading on the subject, my understanding is this with the unicode stuff I use AsyncPro with delphi 7. When data is received in the onreceived event, the data is passed in as a char. you get told how big the buffer is and you jsut loop that many times to get

[DUG] Cross platform musings

2009-10-14 Thread John Bird
The reason I see a decreasing use of desktops (and Windows) is multiple: 1 - Most pcs are getting smaller. The fastest growing areas of sales are in laptops and netbooks these days. As these get smaller and more powerful more and more users find they do not need anything more, and they are

Re: [DUG] Cross platform musings

2009-10-14 Thread Jolyon Smith
More chocolate bars are sold than desktop PCs and energy drinks are a massively growing market. Perhaps Embarcadero should produce a version of Delphi that supports chocolate bars and energy drinks? Seriously - sales figures of those devices you mention surely reflect an increase in the

[DUG] Unicode [redux]

2009-10-14 Thread Jolyon Smith
Jeremy: Separate Ansi and Unicode VCLs are not a viable solution. Straw man argument (but incidentally, do you believe separate Windows specific and X-Platform VCL's *ARE* a viable solution? h...?) ;) And incidentally I for one never advocated dual ANSI/Wide VCL's... some people seem to

Re: [DUG] Unicode [redux]

2009-10-14 Thread Jeremy North
On Thu, Oct 15, 2009 at 3:15 PM, Jolyon Smith jsm...@deltics.co.nz wrote: Jeremy: Separate Ansi and Unicode VCLs are not a viable solution. Straw man argument (but incidentally, do you believe separate Windows specific and X-Platform VCL's *ARE* a viable solution?  h...?)  ;) Have never