Re: [DUG] FW: Web development

2011-06-06 Thread Colin Fraser
Forget IE7, I believe 1 in 10 people surfing the net still use IE 6 (though I 
think a lot of them are in China)...

For our company, 6% of users hitting our site use IE 6... can't ignore even 6%!

Regards
Colin

On 7/06/2011, at 10:22 AM, Rohit Gupta wrote:

 Well thats where half my time goes, getting the things to work on all 
 browsers - especially the MS ones.  Then there are people still using IE7!!
 
 On 7/06/2011 9:39 a.m., Jolyon Smith wrote:
 My problem isn't invalid HTML - it is perfectly valid HTML but which
 doesn't render the way you expect in browser X, Y Z or perm any N from M.
 
 Ditto Javascript which is perfectly valid but which doesn't work the way you
 expect in browser X, Y, Z or perm any N from M.
 
 Or CSS which is perfectly valid but which doesn't work the way you expect in
 browser X, Y, Z or perm any N from M.
 
 Or some combination of HTML, JavaScript or CSS which doesn't work in that
 particular combo in browser X, Y, Z or perm any N from M.
 
 
 I had thought that these issues might have been resolved at some point in
 the last 20 years, but sadly things really aren't much better today than
 they were then.  In some cases worse, because the tools techniques also
 assume that things have improved, when they haven't... lulling you into a
 false sense of security.
 
 
 ___
 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: 
 unsubscribe

#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately and then delete the message from your 
computer. Any views or opinions presented are solely those of the author.



___
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: 
unsubscribe


Re: [DUG] FW: Web development

2011-06-03 Thread Colin Fraser
We have moved some of our stuff to Java, and are quite happy so far.

In terms of rapid development (in the Java world), there are things like Spring 
Roo and Seam Forge, the latter being the newest and least documented...

I have had a little look, but nothing serious so can't really comment that much 
(other than, it looks good, but then so do so many things until you did a bit 
deeper).

In terms of wanting to stay away from HTML, CSS, etc, then there is Vaadin or 
even GWT (both Java related... we are playing with Vaadin at the moment).

The thing with Java is there are so many frameworks and so many options it is 
easy to go around in circles trying to pick (what you think is) the best one.

What we have used in a real project is JSF using Facelets and a little bit of 
Seam... there is a learning curve, but it is not too bad (we have not delved 
into Java EE, just using Tomcat).

The Java IDE's are also really great, we have settled on Eclipse, but you will 
find passionate battles about that, as well as for the frameworks.

Anyway, just thought I would through that in from left field...

Happy hunting.

Regards
Colin

On 3/06/2011, at 11:49 PM, Stefan Mueller wrote:

 I guess Jolon is still using MSIE, right? .. The developer tools that are
 built into Google Chrome browser for example are quite good for debugging
 HTML/CSS(and even JavaScript). Just right click on the elements whose markup
 you want to see and say inspect and it will show you all the code and css
 applied to the element with a nice little editor that allows you to play
 with and modify each property on the fly. Also, developer tools such as MS
 Visual Studio (I am doing mostly ASP.NET MVC stuff lately) aren't too bad
 either with features such as autocomplete/autolookups/warnings for
 non-closed html-tags and invalid markup/attributes, etc  that makes
 writing valid HTML/CSS pretty easy. 
 
 As for other opinions on this whole website development talk: I definitely
 would stay away from writing websites in Delphi. It might be ok to use if
 all you need is a small quick and dirty inhouse webapp or prototype .. but
 what you gain in familiarity by using Delphi is quickly offset by
 disadvantages. PHP/.NET/RoR have huge communities of developers - if you
 have a problem or need some example code/library then just google for it and
 you will most likely find something - whereas for Delphi it's mostly up to
 you to figure it out  and then there is the thing about maintenance if
 you leave the company, will they still be able to find a Delphi developer to
 maintain and lock after the website?). I think it's better to go with more
 popular web development languages. 
 
 Personally I am really happy developing with the ASP.NET MVC framework.
 Never really liked traditional ASP.NET WebForms (viewstate is just such a
 bloat and if you try to AJAX'ify the website things can quickly become very
 complicated and badly performing) - The new ASP.NET MVC on the other hand is
 absolutly fantastic in this regard and a joy to work with - the seperation
 of Data/GUI/Logic  (MVC development pattern) is much better and more modular
 then the intermingled mess ASP.NET WebForms was. 
 
 I also heard a lot of good about Ruby on Rails. As far as development goes
 it sounds easy and fast - but seems to have a bit of scaling problems (if
 your projects require that, most don't). 
 
 PHP is probably the most popular web-language, but never really got to like
 it. I don't like weakly typed script languages that just break during
 execution ... I like my code to be compiled and raise errors during
 compilation time if I made some mistake - makes developing/changing existing
 code/database tables so much easier and less error prone if you have
 everything strong typed.   ASP.NET also has a couple of goodies that I
 probably would miss a lot in PHP  - like, automatic XSS injection
 prevention, URL-Rewriting, Localisation, Authorization (user login, roles,
 etc), HttpModules that allow you to plug directly into the web execution
 pipeline of the IIS webserver, etc. ... I think the ASP.NET framework makes
 writing secure and high performing websites a lot easier then PHP does.
 
 
 Regards,
 Stefan 
  
 
 
 -Original Message-
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
 Behalf Of Berend de Boer
 Sent: Friday, June 03, 2011 6:44 PM
 To: NZ Borland Developers Group - Delphi List
 Subject: Re: [DUG] Web development
 
 Jolyon == Jolyon Smith jsm...@deltics.co.nz writes:
 
Jolyon but in the end got fed up with wrestling with HTML and CSS
Jolyon - working with those technologies is like stepping back in
Jolyon time in terms to tools and debugging etc, 
 
 Really I would say that the available tools and capabilities are light
 years beyond what's offered.
 
 And we're not even talking about the ease with which you create very nice
 interfaces, which would be impossible to create any other way.
 
 --
 All 

Re: [DUG] Toolsets (was Re: Company closing)

2010-11-29 Thread Colin Fraser
  What we *don't* need is a Delphi (or a VCL) for a Lowest Common Denominator
 that fits Windows and Mac and Linux and phones and toasters and key-fobs


Yes and No,

Some people don't like it, some love it, I don't mind it... and that is java 
SWT based apps... Eclipse itself being a prime example.

SWT uses native controls on each supported platform, and (I believe) truly fit 
well into/with the OS and seem to perform pretty well too.

On a day to day basis I use a Mac, use a bit of Ubuntu, and use Delphi in a 
Windows virtual machine... Eclipse, and a small number of SWT applications I 
have built, fit pretty well into the native OS... the last little app we wrote 
sat alongside a Delphi app doing a very similar thing, and the user had no idea 
one was Delphi and one was SWT/java.

In saying that, I don't think there is SWT on phones, toasters and key-fobs 
(well, actually I think there was a Windows mobile port... not sure how that 
went).

Had a play with Android a while ago since I have an Android phone, not to 
mention the plugins for eclipse makes it a relatively easy way to develop, and 
it was not that hard (though I have forgotten it all now :-))

Like others have mentioned, learning the language was easy, learning the 
frameworks is more time consuming... SWT, Android, and, oh the web frameworks, 
so many to choose from... server side, client side, GWT, etc, etc, just about 
to start that process and it looks pretty daunting trying to find the wood 
through the trees and trees of java based web frameworks.

Oh for a one tool fits all in this area too :-)

My $0.02 worth.

Regards
Colin (F)




On 30/11/2010, at 5:34 PM, Colin Johnsun wrote:

 
 
 On 30 November 2010 09:56, Jolyon Smith jsm...@deltics.co.nz wrote:
 
 What we need is a Delphi for Cocoa.
 
 What we *don't* need is a Delphi (or a VCL) for a Lowest Common Denominator
 that fits Windows and Mac and Linux and phones and toasters and key-fobs.
 
 
 Totally agree with Jolyon. 
 
 Initially, I was really looking forward to Delphi for Mac. But the more I 
 think about it, solutions that are not based on the native GUI frameworks for 
 each platform will most likely result in sub-par applications. If I want to 
 design a cross-platform app for both Windows and Mac, then my design decision 
 would be to refactor out all of the non-gui logic into their own units and 
 then build separate user interfaces using the native UI components for each 
 platform.
 
 As Jolyon stated, what makes sense/looks good in a Mac application does not 
 necessarily make it appropriate for a Windows application and vice versa. If 
 you want to do a proper job, you will most likely create seperate UI's for 
 each platform. If that, being the case, it makes no sense to aim for that 
 lowest common denominator because in the end you will please neither of your 
 Windows or Mac users.
 
 I think Embarcadero's plan to use a common 'VCL will initially satisfy the 
 uninitiated who wants to go cross-platform easily and quickly but will be 
 annoying if you want to create apps that are designed specifically for the 
 platform that they are to be hosted on. I see this as the same problem with 
 the attempt to get existing Delphi applications Unicode-ready. The ideas was 
 to make it easy for existing code to become Unicode but it made it 
 confusing for new apps going forward. I think this will be the same for cross 
 platform development for Delphi using this common VCL approach.
 
 Colin
 
 
 ___
 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: 
 unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately and then delete the message from your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe

Re: [DUG] Delphi on Windows Mobile

2010-05-04 Thread Colin Fraser
I imagine that will be a very big _ouch_ for some people...

I have done a bit of playing with the Android API... not that hard really... 
though I had a small amount of java and Eclipse experience already.

Regards
Colin




On 5/05/2010, at 3:03 PM, Colin Johnsun wrote:

 Hi,
 
 
 You might be able to do something with Monotouch and Prism (for iPhone)
 - but I haven't investigated this as a possibility.
 
 
 You can develop iPhone apps with Monotouch with the current iPhone SDK. 
 Unfortunately, with the advent of the new iPhone 4.0 SDK, the rules have been 
 changed (by Apple) so only apps (originally) developed in C, Objective C or 
 C++ will be accepted by the App Store.
 
 Cheers,
 Colin
 ___
 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: 
 unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe

Re: [DUG] Script Engines for use with Delphi

2010-03-21 Thread Colin Fraser
We use FastScript from the Fast Report people... here is their blurb:

A unique feature of FastScript is its ability to use several languages 
(PascalScript, C++Script, JScript and BasicScript). This allows you to write 
scripts using your favorite language. FastScript doesn't use Microsoft 
Scripting Host, so it can be used in both the Windows and Linux environments.


Regards
Colin

On 22/03/2010, at 3:03 PM, Alistair Ward wrote:

 Hi,
  
 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 Scripter Studio
 4) JavaScript (?)
  
 Has anybody had experience with using any of these products? I am 
 particularly interested if anyone has managed to integrate JavaScript with a 
 Delphi app.
  
 Thanks,
 Alistair Ward
 Forum 8 NZ Ltd.
  
 ___
 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: 
 unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe

Re: [DUG] Apple iPad - OT

2010-01-27 Thread Colin Fraser
One thing I found interesting is that Apple is now going to be selling 
books... A new business for them... watch out Amazon.

Regards
Colin


On 28/01/2010, at 11:56 AM, Alister Christie wrote:

 I have to say it looks pretty cool.  My main concern is that they are 
 going to get really popular and I'm going to have to start supporting it.
 
 Alister Christie
 Computers for People
 Ph: 04 471 1849 Fax: 04 471 1266
 http://www.salespartner.co.nz
 PO Box 13085
 Johnsonville
 Wellington 
 
 
 
 Xander (GMail) wrote:
 I can't believe there has been no chat about Apple's latest announcement
 this morning.
 
 Watch this video and tell me with a straight face that you don't want one
 yesterday:
 
 http://www.apple.com/ipad/ipad-video/#large
 
 Is this the coolest thing ever? I will get one for sure when it is
 available. Wi-Fi might be good enough for me, not sure I really need 3G.
 
 
 
 ___
 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: 
 unsubscribe
 
 
 ___
 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: 
 unsubscribe

#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.



___
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: 
unsubscribe


Re: [DUG] Apple iPad - OT

2010-01-27 Thread Colin Fraser
And no... it was not quite the Apple tablet PC/MacBook I was expecting... 
unless that is another development altogether


On 28/01/2010, at 12:02 PM, Phil Scadden wrote:

 
 Is this the coolest thing ever? I will get one for sure when it is
 available. Wi-Fi might be good enough for me, not sure I really need 3G.
 
 What distinguishes this from oversized iTouch that really matters in 
 your opinion? Is it really a full laptop replacement? Have you compared 
 a tablet screen to an E-Ink screen for reading a book?
 -- 
 Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
 Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232
 
 Notice: This email and any attachments are confidential. If received in error 
 please destroy and immediately notify us. Do not copy or disclose the 
 contents.
 
 ___
 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: 
 unsubscribe

#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.



___
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: 
unsubscribe


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

2010-01-14 Thread Colin Fraser

   But Google's phone just begin entering into the market.

The 'Google Phone' has been around for quite a while now (I have had one for 
about a year... has not really been pushed in New Zealand)... Android is the 
Google OS, and quite a few companies make 'Google' or Android phones, eg, HTC 
(made the first released one, and also make the latest that Google is now 
selling directly), Samsung, Motorola and others I can't recall also make and 
sell them.

The media hype seemed to peek because Google is selling the latest (running 
Android 2.1 I think) directly... not sure why the hype, but I am sure it is 
good for the phone and for Google...

In terms of Development, Android is Java based (mainly), and comes with a few 
plugins for Eclipse to make things more easy... all free.

iPhone has an XCode development environment, not to familiar with it...

Regards
Colin


The latest news is that Google are actually selling one now, 

On 15/01/2010, at 4:31 PM, Leigh Wanstead wrote:

 May I ask what is the future between apple's iphone or Google's phone?
 
 I saw that Google phone got Linux behind and no rip off fee from Apple which 
 is great. But Google's phone just begin entering into the market.
 
 Have a nice day
 
 Regards
 Leigh
 
 -Original Message-
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On 
 Behalf Of Jeremy North
 Sent: Friday, 15 January 2010 4:09 p.m.
 To: NZ Borland Developers Group - Delphi List
 Subject: Re: [DUG] What is the future for Delphi programmer?
 
 Pro upgrade is $519 (AUD) for Delphi 2010.
 
 Just because something is free doesn't make it a good investment.
 
 The apple tools are way behind other IDE's for usability and functionality.
 
 I suggest you download them and try them for yourself.
 
 Oh, you'll need apple hardware as well to do that ;-)
 
 I'm not a fan of OSX - it feels like I'm being forced to use a
 computer with one arm tied behind my back and continually trying to
 swat flies and work with the free arm...
 
 
 
 On Fri, Jan 15, 2010 at 1:58 PM, Jolyon Smith jsm...@deltics.co.nz wrote:
 You can't deploy to the iPhone platform unless you pay.
 
 $99 / $299
 
 If there were a version of Delphi at those price points I would be very
 happy.
 
 :)
 
 And unless I'm mistaken, those costs apply no matter whose tools you are
 using to create the software.
 
 $2000+ for Embarcadero Delphi 20XX for iPhone may even include that $99
 cost, but it's still $2000+ vs $99 and free tools.
 
 ___
 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: 
 unsubscribe
 
 ___
 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: 
 unsubscribe
 
 
 ___
 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: 
 unsubscribe

#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.



___
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: 
unsubscribe


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

2009-10-20 Thread Colin Fraser

I have a mighty mouse too... two actually...

They both suffer from degrading right click performance... you right  
click and it things it is a left click (no matter where your left  
finger is... or isn't)...


They both come right after a 'reboot' :-)

Other than that, I like the left and right as well as up and down  
scrolling, so put up with 'rebooting' it every now and then... will be  
interesting to see what the new ones feel like.


Regards
Colin

On 21/10/2009, at 3:42 PM, Richard Vowles wrote:


2009/10/21 Jolyon Smith jsm...@deltics.co.nz
Possibly, although of course the Apple already has a quite different  
mouse in the form of the Mighty Mouse.



I have a Mighty Mouse - they are just like normal mouses - they  
ostensibly have only one button, but a change in the Settings makes  
it see two and more and more things require a right click on the  
Mac. The problem is the bluetooth is so flakey I can't use it any  
longer, it is just terrible.

--
---
Richard Vowles, Technical Advisor
Developers Inc Ltd
web. http://www.developers-inc.co.nz
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384
skype. rvowles, LinkedIn, Twitter


___
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: unsubscribe



#

Attention:

The information in this email and in any attachments is confidential. If you are not 
the intended recipient then please do not distribute, copy or use this information. 
Please notify us immediately by return email and then delete the message from your 
computer. Any views or opinions presented are solely those of the author.



___
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: 
unsubscribe

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

2009-10-20 Thread Colin Fraser
I have done a tiny bit of SWT work (cross platform Java... not Swing,  
but native controls, basically what Eclipse is built on)... a few  
things to tweak on each platform to make it right... but the results  
IMHO are better than a Swing app which tries to look native...

So it can be done... but lots of people would probably ask if it is  
worth it... (I think it is :-) )

Regards
Colin

On 21/10/2009, at 12:41 PM, Jolyon Smith wrote:

 Hey Todd,

 I'm not saying you can't create a cross platform GUI toolkit, what I'm
 saying is that if you think you can create a single source  
 application of
 any reasonable (UI) complexity using such a toolkit that creates
 applications that users of that application on each platform will  
 recognize
 and respect as a first class citizen on that platform... that's  
 the pipe
 dream.

 I think the danger is that most people that got/get excited about  
 cross
 platform think that what they get is some magic box that will allow  
 them to
 take their Windows application and then the cross platform magic  
 happens
 that turns it into a fully fledged Mac or Linux app.

 I think that out of all those people that said yes please to
 cross-platform, when the reality hits them I think a large number of  
 them
 will be disappointed ... oh, but this isn't what we thought you  
 meant...


 ___
 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: unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe


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

2009-09-17 Thread Colin Fraser
To add to the language debate...

We are now doing more Java stuff... Have to say I enjoy the IDE  
(Eclipse) more than Delphi's (2007), and I just seem to 'like' the  
language better.

Have done a couple of small web related things, and also a couple of  
small (just to try it out) applications using SWT (this is the  
framework that Eclipse is built on, it uses native controls on Mac,  
Windows and Linux, making the applications look more native on each  
platform... and they do).

Definitely a reasonable learning curve (and I have still lots to  
learn... just getting started really), and the applications are  
reasonably trivial, but it has worked OK so far.

The Java run time environment also seems a fair bit lighter than  
the .net frameworks... though I have no idea on the provided total  
functionality of each, and for the applications I am involved with, I  
don't need to worry about deployment so much anyway.

Just thought I would through another language in there :-) (and hey, I  
was happy to see the website listed in the delphi vs java vs .net vs  
prism vs vs vs vs post yesterday having java on top of the list :-)  
(flame bait, maybe :-)

Regards
Colin



On 18/09/2009, at 11:09 AM, John Bird wrote:

 Seeing we are talking about the merits of .Net and garbage  
 collection - let
 me re-raise my question which no-one answered yet:

 The D2007 IDE uses quite a bit of .Net code.  I find it is  
 consistently the
 last thing to respond on Vista after a log-in or resume - 20-30+  
 seconds of
 spinning wheel before the code window repaints.   Is this .net garbage
 collection going on?  is it .Net overhead?  or is it something else?

 Some here  know a lot about the tech specs of the IDE - any comments?

 Personally I will be more impressed by .net once MS start using it
 themselves for their core products.   Vista does not come with .net
 framework installed - the D2007 installer installed it, and almost  
 none of
 Windows or MS Office 2007 (which was also pre-installed when I got  
 the PC)
 use it hence a default Vista + Office does not have the framework.

 John


 ___
 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: unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe


Re: [DUG] to Vista 64bit or not?

2009-08-06 Thread Colin Fraser
I am sure your comment on Mac vs Win could start some flame wars...

I'll start next :-)... I have a Mac Book Pro too, and much prefer it  
over Windows... though have not tried Windows 7 much at all.

The One menu thing... you grow to like it... well, at least I actually  
like it better now.

One thing that I still find infuriating though is that you can only  
size windows by the bottom right corner... why, why, why make sizing  
windows so hard???!!

And there are a few other things... but generally I still like my  
Mac... though support may have me thinking hard next time round and I  
will have a good look at Windows 7

Regards
Colin



On 7/08/2009, at 12:45 PM, Jeremy North wrote:

 On Fri, Aug 7, 2009 at 10:36 AM, John  
 Birdjohnkb...@paradise.net.nz wrote:
 Why do you prefer Vista (apart from the task bar?)

 That is basically it. Although I will switch to Win7 for new hardware
 purchases. The start menu in Win7 has a nice feature where individual
 apps have their own recent document lists.

 I haven't played around too much with the taskbar settings but I
 believe you can basically get the old one back in Win7 anyway.

 I purchased a macbook pro the other week. That has been an interesting
 experience. Anyone that says they prefer the macOS after using windows
 for a long time is fibbing :-). It feels horribly limiting and this
 one menu bar for all applications is just dumb.

 Got Lazarus up and running (doubt I'll really use it though) as well
 as XCode for doing some iphone development (the reason i got it).
 ___
 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: unsubscribe


#

Attention:

The information in this email and in any attachments is confidential. If you 
are not 
the intended recipient then please do not distribute, copy or use this 
information. 
Please notify us immediately by return email and then delete the message from 
your 
computer. Any views or opinions presented are solely those of the author.


___
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: 
unsubscribe


[DUG]: Timing Resolutions

2001-07-24 Thread Colin Fraser

Hi all,

I have just had someone ask me about timing resolution in Delphi.

I understand that TDateTime can record milliseconds, but I am not sure to
what level... also I have seen the TTimeStamp routing for storing time in
more detail.

I see that you can set a TTimer in milliseconds, but how low can you go???

I have heard 50 milliseconds, is that correct. I have also had a look at
GetTickCount... that seems to go up in 10 millisecond intervals.

Any info, or pointers to functions would be great.

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - 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/



RE: [DUG]: Timing Resolutions

2001-07-24 Thread Colin Fraser

What are you trying to do??

Myles.

Hi Myles,

The application was for controlling a robotic arm... I believe the
application used to count pulses (from something) as the arm moved but this
was proving unreliable as a pulse or two was getting missed.

The application would need to time the movement of the arm... I think they
where also looking at a PLC to do the counting and return the counts to the
PC, that was another option.

Regards
Colin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Wednesday, 25 July 2001 11:02 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Timing Resolutions


Delphi can do the same as any other Win32 application.

Since you are running in a multi-tasking timeslice environment, the 10ms
resolution may be more to do with the basic task switching timeslice/machine
loading.

The standard counters are in milliseconds, with the lowest being 1ms.
However there is more detail available in the performance counters, but
again, the multitasking timeslice may have bigger effects. How fast is the
machine??

If you want you can count CPU cycles/instructions counts with the RDSTC
instruction if required (some of the profiling software uses this method).

What are you trying to do??

Myles.


-Original Message-
From: Colin Fraser [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 10:52 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Timing Resolutions


Hi all,

I have just had someone ask me about timing resolution in Delphi.

I understand that TDateTime can record milliseconds, but I am not sure to
what level... also I have seen the TTimeStamp routing for storing time in
more detail.

I see that you can set a TTimer in milliseconds, but how low can you go???

I have heard 50 milliseconds, is that correct. I have also had a look at
GetTickCount... that seems to go up in 10 millisecond intervals.

Any info, or pointers to functions would be great.

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.
If you are not the intended recipient then please do not distribute,
copy or use this information. Please notify us immediately by return
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - 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/
---
New Zealand Delphi Users group - 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/


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - 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/



RE: [DUG]: ISAPI and Thread Safeness

2001-07-23 Thread Colin Fraser

That is what I thought also... but it doesn't seem to... (unless the
following can be otherwise explained).

I found that when converting a CGI app to an ISAPI app I had some unexpected
errors... for example, I was setting the name of an HTML file as follows:

  proPurOrdForm.HTMLFile := Somestuff + proPurOrdForm.HTMLFile;

Since proPurOrdForm (a page producer) is on the TWebModule I would have
thought it would get created and initialised for each web request... but it
definitely doesn't... or at lease the proPurOrdForm.HTMLFile property gets
longer and longer each time you visit the related page.

I have found similar problems with other controls on the Web Module form (eg
SQL statements in TQuery) which lead me to believe that a new instance of
the Web Module is NOT created for each web request...

I could not explain what was happening any other way... perhaps someone else
can??

Regards
Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Xander van der Merwe
Sent: Monday, 23 July 2001 3:36 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: ISAPI and Thread Safeness


Doesn't the Delphi web broker architecture allow you to ignore the threading
issue to some extend, as long as you put everything into the TWebModule? As
far as I know, Delphi automatically creates a seperate instance of the
TWebModule for for each thread. So the only area that you need to worry
about threading is if you have any global objects outside of the TWebModule.
In other words, if your TList is declared inside the TWebModule, you can
leave it as is.

I could be wrong here, but seem to remember this from the docs...

From: Wilfred Verkley [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Subject: RE: [DUG]:  ISAPI and Thread Safeness
Date: Mon, 23 Jul 2001 12:48:51 +1200

Im pretty much a beginner when it comes to threads.  However, from what i
understand, ThreadList's lock  unlock method prevent multiple write's to a
list automatically.  You will still have problems if you havnt locked the
list while one thread is reading its contents, and the other thread is
updating.  Lots of delphi thread code that ive seen fix this by always
locking a ThreadList before a read, but this seems ineffecient.

In the ISAPI DLL i wrote, i used TMultiReadExclusiveWriteSynchronizer's to
control all acess to shared resources.  It lets multiple threads read an
object/list as long as nothing is updating it.  This worked pretty well,
though i probably went overkill on all the locks.

Wilfred.

-Original Message-
From: Colin Fraser [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 12:20 PM
To: Multiple recipients of list delphi
Subject: [DUG]: ISAPI and Thread Safeness


Hi all...

I am quite new to ISAPI apps and haven't really done much with treads
either...

How careful do I need to be in regards to ISAPI apps and treads...

For example, if I want to use lots of code that currently uses TLists... do
I need to change them all to TThreadLists.

In actual fact, most of the TLists are in other objects, I have my own type
of list object that uses a TList in behind the scenes... should I change
those to TThreadLists, or create my own Critical Sections around the
important parts??

Is there any performance hit for using TThreadLists instead of TLists, or
Critical Sections for that matter??

Any info appreciated

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.
If you are not the intended recipient then please do not distribute,
copy or use this information. Please notify us immediately by return
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
 New Zealand Delphi Users group - 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/

This e-mail message has been scanned and cleared by MailMarshal
http://www.gen-i.co.nz

This e-mail message has been scanned and cleared by MailMarshal
http://www.gen-i.co.nz
---
 New Zealand Delphi Users group - 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/


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

[DUG]: ISAPI and Thread Safeness

2001-07-22 Thread Colin Fraser

Hi all...

I am quite new to ISAPI apps and haven't really done much with treads
either...

How careful do I need to be in regards to ISAPI apps and treads...

For example, if I want to use lots of code that currently uses TLists... do
I need to change them all to TThreadLists.

In actual fact, most of the TLists are in other objects, I have my own type
of list object that uses a TList in behind the scenes... should I change
those to TThreadLists, or create my own Critical Sections around the
important parts??

Is there any performance hit for using TThreadLists instead of TLists, or
Critical Sections for that matter??

Any info appreciated

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - 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/



RE: [DUG]: Default Exception Handler

2001-07-22 Thread Colin Fraser



I have found 
that if you have AppEvents in the uses clause but don't have any 
TApplicationEvents component anywhere, your exceptions miraculously 
disappear.

Removing the 
AppEvents from the uses clause usually fixes this... I also had one app which 
didn't get fixed by this... I searched hi and low and didn't find any AppEvents 
in the uses clause... in the end I just dropped a TApplicationEvents on the main 
form (didn't use it) and everything was back to normal (exceptions showing up 
everywhere ;-) )

Regards
Colin

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of 
  Patrick DunfordSent: Monday, 23 July 2001 12:54 
  pmTo: Multiple recipients of list delphiSubject: [DUG]: 
  Default Exception Handler
  Since Delphi 5 I 
  am finding that my applications no longer display the default exception 
  message dialog when an unhandled exception occurs in the 
  application.
  
  It seems I have to 
  write an exception handler for Application.OnException, or did I miss 
  something?
  
  

Attention: 
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.




RE: [DUG]: Exception Handling (Delphi 5)

2001-06-20 Thread Colin Fraser

From my experience, the problem occurs if you have used the AppEvent
component and then removed it, leaving the AppEvents (or what ever the unit
name is for this component) in the uses clause.

I also had one occasion where exceptions where still 'disappearing' and I
searched hi and low for the AppEvents unit and couldn't find it.  Just
popping the AppEvents component on the form (and not even using it) fixed
both problems... But if you have the unit and not the component, try
removing it first.

Regards
Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nello Sestini
Sent: Wednesday, 20 June 2001 5:32 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Exception Handling (Delphi 5)


Sam

 I'm having problems with exceptions completely ignoring the handlers.


ISTR there are two known problems with ignored exceptions in D5

Both occur when the AppEvents unit is used in the failing unit.

One (not both) of the problems is fixed in the 2nd update to D5.

If you can't find information about this give a shout and I'll
see if I can find it again.

-ns

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



[DUG]: Run Once Code

2001-06-18 Thread Colin Fraser

Hi,

Does anyone have handy any code that will stop an application running more
than once instance...

I know there are some components around that you can just dump on the main
form, but what I am after is to programmatically control how the app starts.

For example, if there is a certain command line parameter then start a new
instance, otherwise bring the new instance to the front and process the new
command line parameters.

Regards

Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: OFFTOPIC PC Tools

2001-06-17 Thread Colin Fraser

And anohter that is quite nice is at

http://www.east-tec.com/spex/home/index.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Paul Ritchie
Sent: Monday, 18 June 2001 11:53 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: OFFTOPIC PC Tools


Neven,

I use TreeSize Pro and find it quite handy.
http://www.jam-software.com/treesize.html

Don't know about quick though, as it has to traverse all files and
directories on the drive.

Paul Ritchie
Radio Computing Services


 -Original Message-
 From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 11:39 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: OFFTOPIC PC Tools
 
 
 Hi all
 
 Just a quick off topic message - does anyone khow of a free directory
 management
 tool for win32 (like disk manager under PC Tools) that dives 
 a quick display
 of the space
 used in each Dir
 
 Regards Neven
 N.K. MacEwan B.E. EE
 Ph 649 574 0027
 Fax 649 570 2706
 [EMAIL PROTECTED]
 
 A truth denied the light of action will wither to a promise, 
 propaganda and
 then a lie
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi

##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: RE: [DUG]: Interfaces

2001-06-12 Thread Colin Fraser

Any disadvantages using Interfaces??? 

Any slower performance???

Anything to look out for???

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: OK I've heard enough

2001-05-10 Thread Colin Fraser

Last time when Delphi 5 was released, I could not justify going to the
Enterprise version... so we went with the Pro version (4 licenses) and
purchased the ADO add-on and a few other third party tools...

That has worked fine for us... so the main question is do you (or I !!) need
the Enterprise version or will the Pro version do. If you look at the
product matrix, for sure all (or most) of the 'New' features are in the
Enterprise version and not the Pro.

Now I don't yet know what all these 'New' things really are... maybe they
are definitely needed by the greater majority (in which case they shouldn't
be in the 'Enterprise' version), maybe they can be purchased separately,
maybe there are cheaper and better third party add-ons that can be used with
the Pro version that will do the same thing (but cheaper)... lots of
maybes...

And a final maybe... maybe we just need to wait for a couple of weeks and
see how things settle down, see if more info becomes available as to what
really is 'New' and what really is in the Enterprise version and available
in no other way...

I am sure hoping that we don't need to purchase the Enterprise version...
that is one thing I can say!

Also, an interesting side note to do with market share or future market
share...  Down here in little old Hamilton, a friend of mine was keen to go
to a Delphi course at Tech... the course ended up been cancelled due to not
enough interest/registrations, so they decided to do a Java course
instead... that course ended up been jam-packed... It doesn't seem like a
good sign if there are hardly any people wanting to learn Delphi, and those
that do, can't (well... not at a Tech course in Hamilton anyway...)

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Steve Peacocke
Sent: Thursday, 10 May 2001 9:38 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: OK I've heard enough


At 09:00 am 10.05.01 +1200, you wrote:
At NZ$5500 pa the MSDN Universal subscription seems to represent
comparitively remarkable value for money.

It includes 5 user licenses of the Enterprise versions of all the MS
development tools (?), all the Windows platforms, the MSDN library, Office,
Backoffice (including all editions of SQL Server).  The international
edition includes foreign language versions of these where applicable, and
update CDs arrive on monthly as new versions become available.

It's interesting isn't it. Delphi is considered in corporates as a weird
language - excellent by all reports, but weird. Often too weird to consider
unless there is a contract Pro around to do some selling.

How many times have I heard IT managers and IS Directors stating that they
can deliver real state of the art, object oriented, multi-tier, corporate
critical applications with a real Language like Microsoft Access or
Microsoft Visual Basic. I have seen entire in-house development structures
for corporates based on Microsoft Access - Hell, I've been to a few
Microsoft mornings where they talk new buzzwords sprinkled with the words
VB or Access and all the corporate people go away glassy eyed.

If Borland doesn't want my business, I'm certain Microsoft does.

Reality: I'm dreading going back to see a particular client in the morning
who I convinced to purchase Delphi 5 for their junior programmer I'm
training up. Convincing the guy to part with many thousands to get into
Delphi 5 was like pulling teeth, I was there when he heard the price and he
took a lot of convincing.

If he has heard about the $5.5K to upgrade - something he will want to do
as his junior and I support a lot of his web developed apps and Delphi 6
gives a large enhancement to that - If he's heard about the upgrade prices,
my name in this town is going to be something not worth repeating.

Either Borland has to do something and double quick, or it looses NZ
developers in droves. Most will probably be like myself and will still
carry on for a few years with their older versions on current developments,
but any new work will be done with some other tool.

I have already begun the search for that tool - probably Microsoft owned.

BTW: This discussion used to be read by Borland Aus. and topical issues
like this one were reported back to the States. Is this still the case?
otherwise, it's about time one of us sent all these emails to Borland USA.

Steve

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from 

RE: [DUG]: d6 - pricing, mutter...

2001-05-08 Thread Colin Fraser

Someone else mentioned unbundling... this was done a bit with the last
version, eg ADO add-on, any info on unbundling with D6??

Regards
Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent: Wednesday, 9 May 2001 11:00 am
To: Multiple recipients of list delphi
Subject: Re: [DUG]: d6 - pricing, mutter...


OK, pricing (all are +freight +gst):

enterprise full $6670 + gst
  upgrade $5330 + gst
pro full $2220 + gst
  upgrade $890 + gst

order before 30 june and get a discount
pro $815 + gst (upgrade)
ent $4930 + gst (upgrade)

wow, the NZ$ does suck (and our prices in the US have gone up a bit too.)

 Nic, would be good to get thee NZ pricing out asap - I have budget money
for
 Delphi allocated before July and could going on the red tape.



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Delphi 6 info

2001-05-01 Thread Colin Fraser

What about stopping by Hamilton on the way ;-)

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nahum Wild
Sent: Wednesday, 2 May 2001 10:41 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Delphi 6 info


Yay for in Christchurch!

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 02, 2001 10:34 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Delphi 6 info
 
 
 Hi people,
 
 Someone (damn, I use IMAP for mail, so delete = remove, not 
 move to trash!)
 asked about Delphi 6 and the ***SNAP stuff, and which version 
 it was in.
 Well, I now know, but as its going to be _officially_ 
 announced on the 8th
 May (Tuesday next week, US time), I have been asked not to 
 say until then.
 
 So, if you can hold your breath until then (no, not 
 literally), then all
 shall be revealed. We also have a launch of it, and JBuilder 
 5 coming REALLY
 soon (well, this month), and as far as I know it will be in 
 Akl, Wlg and
 Chch :)
 
 Cheers,
 
 Nic.
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi

##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: ReportBuilder AddOn

2001-04-29 Thread Colin Fraser

This usually happens when you try to run the demo version that was compiled
with a different version of Report Builder that you have installed.

Once you have the source to TExtraDevices it is not a problem, you just
recompile it.

If you know what version of Report Builder you have, just make sure you
download the correct demo.

Regards
Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Sergei Stenkov
Sent: Monday, 30 April 2001 1:23 pm
To: Multiple recipients of list delphi
Subject: [DUG]: ReportBuilder AddOn


Hello,

I've downloaded a trial version of TExtraDevices (from waler.com) for
ReportBuilder to get Excel exporting functionality.
The problem arises when I try to install a package for TExtraDevices.
I get the following error when try to add it to the list of packages:

The procedure entry point @Ppdisplayformat@initialization$qqrv could not be
located in the dynamic link library rbRCL55.bpl

Does anybody know what's that and how to fix it?

Both TExtraDevices and ReportBuilder are demo versions.
I sent the same question to the support on waler.com last week but had no
response yet.

Thank you and best regards,
Sergei.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Sharing a database connection

2001-04-19 Thread Colin Fraser



I have not 
looked into it at all...

But with IBO 
you pass the database handle to the dll... Now, I have not done this, nor do I 
know if it works with the BDE but it maybe something you could look at... or... 
you could wait for someone that knows what they are talking about! 
:-)

Regards

Colin

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of SammySent: 
  Thursday, 19 April 2001 7:21 pmTo: Multiple recipients of list 
  delphiSubject: [DUG]: Sharing a database 
  connection
  Is there a way to get an executable  2 dll's 
  to all use the same database connection. I have tried passing the TDatabase 
  component to the dll, and although it is apparently still active, when a query 
  opens it still brings up the database login prompt
  (any examples would be most 
  appreciated)
  
  TIA
  
  Sammy !!

Attention: 
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.




RE: [DUG]: TTreeView

2001-02-01 Thread Colin Fraser

I think I know the answer to this one...:-)

When you add a tree node I assume you use a function like TreeView.Items.Add
or AddChild etc.

These functions return the TTreeNode that was added so to select it, you
just go something like.

  aTreeNode := aTreeView.Items.Add(nil, 'This is the root node');
  aTreeNode.Selected := True;

or something like that...

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chrissy
Sent: Thursday, 1 February 2001 8:56 pm
To: Multiple recipients of list delphi
Subject: [DUG]: TTreeView


Hi,

How do I select the node that I have just added to the tree view?

Chrissy.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Time Syncing protocols

2001-01-29 Thread Colin Fraser

Hi all...

Our server's clock tends to drift over time and every month or so I have to
keep resetting it...

I have looked at the Indy and FastNet components to see if I can build a
quick app to automatically get the time from various internet time
servers... it all looked quite easy...

Now from the specs I see that these time components are based on the 'Time'
protocol, RFC 868. Most of the time servers I have found seems to based on
the 'Network Time Protocol' (NTP), RFC 1305.

Now, are these protocols in anyway compatible, or am I barking up the wrong
tree...

Any ideas, alternatively, does anyone know any good little apps that I could
use instead... if building my own gets too tricky (or time consuming :-))...

Regards

Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: MDI

2001-01-09 Thread Colin Fraser

I personally like MDI apps as it stops thing getting cluttered... but that
is just personal pref I guess...

Also I note that though MS Word 2000 is not an MDI, MS Excel and MS Access
2000 are both MDI apps. Excel 2000 allows you to add a button in the taskbar
for each MDI child if you want to... Word 2000 (being non MDI) forces this
upon you...

Funny how things are so non standard between apps in the same (and latest)
MS Office suite!!

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matthew Comb
Sent: Wednesday, 10 January 2001 5:53 pm
To: Multiple recipients of list delphi
Subject: [DUG]: MDI


Are MDI forms still being used or are they fairly redundant these days.

What is the easiest way to make sure that your whole app only gets one icon
in the taskbar and when you minimise second and third etc forms that the
whole application minimises?

Cheers,

Matt.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Importing data

2000-12-19 Thread Colin Fraser

Hi...

Somewhere on the ibphoenix web site are some tools for data importation...
two that come to mind are the sql2gdb tool that can load data from various
sources including ODBC (you set up a ODBC link to the text file) and another
tool is IBLoad which is a tool especially for importing text files into
Interbase...

Have not really had any experience with either tools, but you may like to
give them a try.
  http://www.ibphoenix.com
  http://www.ibphoenix.com/ibp_contrib_download.html

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Scott Cree
Sent: Wednesday, 20 December 2000 9:27 am
To: Multiple recipients of list delphi
Subject: [DUG]: Importing data


How can I load a text file into an interbase table?
Is there a Load command like in Informix, that can load a csv file?

Cheers,
Scott.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: ISAPI DB App query

2000-12-12 Thread Colin Fraser

Hi all,

Just have a query about how people generally go about using ISAPI apps (or
CGI for that matter) and dealing with a number of database records and
showing only a few at a time.

For example, say the user queries the DB and has a result set of say 100
records and you only want to show 10 records at a time...

Without knowing too much about this stuff, my first thought would be to have
a hidden field or a URL parameter that holds the current record or page, and
have this passed back to the CGI or ISAPI app when the user clicks forward
or back.

Now since ISAPI and CGI apps are stateless... do developers actually rerun
the previous query and, if looking at the 3rd page say, then go forward 21
recs and start showing the next 10 records from there???

My question is, first, is this how people do it, and secondly, what if a DB
user adds or deletes records in the mean time, the records shown from the
CGI or ISAPI app could then have duplicates or miss out records etc...

Any info appreciated

Regards

Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Installing Delphi on Win 2000

2000-11-22 Thread Colin Fraser

Hi,

One of our guys is trying to get Delphi 5 Pro going on Windows 2000...

He can install it successfully as an Admin and that is fine... For his day
to day operations however, he logs in under a normal user account.

With NT it was just a matter of re-running the install and choosing the
registry only setting, this then set up Delphi for the new user name.

However... with Win 2000 we have errors coming up about Uninstall shield
being in use and setup cannot continue...

Anyone have any ideas?? (He could just always log in as an Administrator...
but his PC is not really in a secure location... etc etc)

Regards

Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Passing the Time - OLAP

2000-11-21 Thread Colin Fraser

High Nic...

Could you possibly provide me with some more info on this...

Do you know if you can get the OLAP stuff going without purchasing SQL
Server...  or Perhaps even purchasing it but not deploying it... client
licence requirements etc??

Any info would be appreciated...

Regards

Colin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent: Tuesday, 21 November 2000 5:27 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Passing the Time


MS ADO-MD stuff works with it via ODBC.

:)

N
- Original Message -
From: "Colin Fraser" [EMAIL PROTECTED]
To: "Multiple recipients of list delphi" [EMAIL PROTECTED]
Sent: Tuesday, November 21, 2000 4:57 PM
Subject: RE: [DUG]: Passing the Time


 Since we are (almost) talking about DB stuff... does anyone know of any
OLAP
 tools available for Interbase??

 Regards

 Colin

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nic Wise
 Sent: Tuesday, 21 November 2000 4:47 pm
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Passing the Time


  Good to see a bit of late afternoon bigotry

 :)

 
  Interbase is prob a good choice when it brings out replication (though
 that
  wont be free)
  MS SQL Supports 'merge replication' though it is not free either but
they
  are probably the best
  'out of the box' solutions

 the IB replication thing is out, but it aint free, and its not going to
be.
 I dont recall the URL for it, tho, but its done by a South African crowd
 (synergenix?) interbase2000.org should have it.

  Have a play with the ADO Shape Provider - This will actually work with
any
  ODBC capable database - it means you
  can create heriachal datasets (grandparent - child - grandchild etc)
and
  export them to XML and email them arround!
  Very little work

 ADO's data shaping is LOTS of fun. Had aplay when it first came out (even
 did some training with it). Its nice, and worth a look, IMO - tho I think
 you need MSSQL 7 to get it...

 N

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"


 ##
 Attention:
 The information in this email and in any attachments is confidential.
 If you are not the intended recipient then please do not distribute,
 copy or use this information. Please notify us immediately by return
 email and then delete the message from your computer.
 Any views or opinions presented are solely those of the author.
 ##
 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Passing the Time

2000-11-20 Thread Colin Fraser

Since we are (almost) talking about DB stuff... does anyone know of any OLAP
tools available for Interbase??

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent: Tuesday, 21 November 2000 4:47 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Passing the Time


 Good to see a bit of late afternoon bigotry

:)


 Interbase is prob a good choice when it brings out replication (though
that
 wont be free)
 MS SQL Supports 'merge replication' though it is not free either but they
 are probably the best
 'out of the box' solutions

the IB replication thing is out, but it aint free, and its not going to be.
I dont recall the URL for it, tho, but its done by a South African crowd
(synergenix?) interbase2000.org should have it.

 Have a play with the ADO Shape Provider - This will actually work with any
 ODBC capable database - it means you
 can create heriachal datasets (grandparent - child - grandchild etc) and
 export them to XML and email them arround!
 Very little work

ADO's data shaping is LOTS of fun. Had aplay when it first came out (even
did some training with it). Its nice, and worth a look, IMO - tho I think
you need MSSQL 7 to get it...

N

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Removinf Files From Project

2000-11-20 Thread Colin Fraser

If you do a Build rather than a compile it will (or may?) take you to the
unit that uses the one you have deleted...

Maybe :-)!

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chrissy
Sent: Tuesday, 21 November 2000 5:45 pm
To: Multiple recipients of list delphi
Subject: [DUG]: Removinf Files From Project


Hi everyone.

I have a project that includes a number of units.  I want to remove some of
them and am having trouble.  I have tried everything that I can think of.
The message that I get is

[Fatal Error] HyperPascal.DPR(13): File not found: 'AssignPanel.dcu'

The unit AssignPanel has been removed from the project.  What can I do?

Chrissy.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Basic HTML/Delphi Question

2000-10-26 Thread Colin Fraser

Hi all...

We are just starting to play with HTML and Delphi... thanks to those who
gave references to tutorial sites!!

I have a question... say I have an HTML file and I want to include the
output from a Delphi CGI or ISAPI app in the middle of it...

Is this possible... I can see 2 approaches.

One: Build the whole html file from scratch in Delphi (possibly using the
page producer object and replace the HTML tags). Tested this method and it
works.

Two: Have the output of the Delphi CGI or ISAPI app appear in the middle of
the HTML file. This seems more elegant (especially if I want to use the same
Delphi app in several different web pages) but I am not quite sure if it is
possible or easy...

For example, something like the image tag:

... Lots of HTML stuff including top menus etc...
img src="file:///SomePictureFile.jpg"

!-- and now the output of my Delphi app, eg. a table that could be used in
lots of different pages --
html src="MyDelphiApp.dll/Whatever"  !-- or some real tag that will allow
me to include other html --

... Lots more HTML stuff at the end of the doc

Any info appreciated...

ps. I have searched (and searched) for a tag that will allow me to include
other HTML files but haven't found one...

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: CGI Apps etc... getting started...

2000-10-23 Thread Colin Fraser

Hi Malcolm...

Yes, your info was most useful...

In the article it mentioned something about some bigger examples/source
code... Do you have any links to those by any chance??

Regards
Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Malcolm Groves
Sent: Friday, 20 October 2000 4:25 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: CGI Apps etc... getting started...


Hi Colin,

I've got a paper on using WebBroker, State and a few other things up at
http://www.madrigal.com.au/articles.htm

Hope it's useful
Malcolm

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: CGI Apps etc... getting started...

2000-10-19 Thread Colin Fraser

Hi,

We are just looking at starting some WEB Development with Delphi and I am
wondering if anyone has any links to sample code or tutorials for both the
Delphi and the HTML side of things.

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Creating PChars

2000-10-08 Thread Colin Fraser

Hi all...

Just wondering on the use of PChars (when using API calls)...

What is the best way to create and free a string...

Is StrAlloc and StrDispose the way to go, or is GetMem and FreeMem fine...
or doesn't it matter???

Just wondering as in the help it talks about StrAlloc's use being 'in
decline' and StrDispose being there for backward compatibility only.

Any info appreciated,

Regards
Colin


##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: RE: Re: RE: [DUG]: Creating PChars

2000-10-08 Thread Colin Fraser

Funny you should mention that!!

I am just looking at DeviceCapabilties now (one of the reasons for asking
the PChar question) and I found that for some reason, sometimes the
DeviceCapabilties function fails (i.e. returns -1). If you call it again
after failing (which should be fine from what I can tell) in Delphi you go
straight to the CPU window (it doesn't crash (usually, i.e. sometimes it
does), just goes to the CPU window)..

I have now found that what I was trying to do has already been done by
Report Builder (which we use), so I just use their functions... haven't
looked into it... but when returning info about a printer... for the ones
that my code returns a -1 for, the Report Builder code works but it just
takes a second or 2 longer... interesting... (off the topic of PChars
though... sorry!)

Regards
Colin



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jason L. Coley
Sent: Monday, 9 October 2000 3:56 pm
To: Multiple recipients of list delphi
Subject: RE: RE: Re: RE: [DUG]: Creating PChars


I'd love to know exactly what the problem was, so i could say, hey get
this ***.dll and fix their problems that way. The code that generally
gave the errors was when using DeviceCapabilities to find printer Info,
maybe it was just bad print drivers (this of course would not be
un-common)?

-Original Message-
From: Carl Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Monday, 9 October 2000 4:47 p.m.
To: Multiple recipients of list delphi
Subject: RE: Re: RE: [DUG]: Creating PChars


Yes, well GetMem is a very fundamental procedure.  I mean, the VCL is
full
of calls to GetMem - Delphi would really fall apart without it (no
dynamic
array usage would be safe, for example).  Obviously you have to watch
your
step when using it, but if I'd had the number of problems that (I infer)
you've had with it, then I'd suspect that that there was a corrupt
version
of borlandmm.dll being propagated around.  Might that be a possibility?

Cheers,
Carl

From: Jason L. Coley [mailto:[EMAIL PROTECTED]]
Well I guess you have me there, although i'd like to know exactly why a
procedure will die on one machine and not another, when both machines
supposedly have the same operating system fixes etc?
And the culprit is always the GetMem and FreeMem. What else are you
supposed to do other than simply not use the commands. 
Why have an application generate errors using a supposedly straight
forward procedure like Getmem, if you can avoid it?

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

##
Attention:
The information in this email and in any attachments is confidential.  
If you are not the intended recipient then please do not distribute, 
copy or use this information. Please notify us immediately by return 
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
##

 winmail.dat


RE: [DUG]: Exceptions not getting caught

2000-08-07 Thread Colin Fraser

Thanks

That was indeed the bugger!!! (though the file name was AppEvnts... pretty
close though!!)

Help muchly appreciated!!

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nahum Wild
Sent: Monday, 7 August 2000 4:15 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Exceptions not getting caught


I had a problem with exactly the same symptoms.  I did manage to solve it
and posted a 'how to' to this list a bit before christmass 1999.  I've
included below, hope it helps...


Nahum Wild
Game Designer
Realism Ltd

Pre-Register now for the ESDAO beta test!
http://www.esdao.net


--

In D5 there is a new non-visual component under the Additional tab called
TApplicationEvents.  This allows you to hook into the global Application var
events through the TApplicationEvents events oldly enough.  I was checking
out the ability to easily add exception handlers for indvidual forms and
when I finished with it I deleted the component from the form.  But it still
left the reference to AppEvents.pas in the forms uses clause.  This is where
the problem occured.

For some unknown reason by just having that pas referenced, but not being
used directly by me, it was adding its own eventhandler by hooking into
Application.OnException.  It was then doing nothing when an exception was
raised by my app!  It was not even showing the exception message to me!  The
only way I could find out about any exceptions (including asserts as they
are exceptions) was to be running under the IDE and seeing them occur.  It
was effectivly supressing the exceptions.  The way to solve this is to just
simply remove the AppEvents.pas reference in the uses clause.

Anyway I thought that I would warn you all so you don't end up wasting a
large amount of time with it like I have.

Also, don't ALT+F12 a TFrame, do some editing like change component types
then ALT+F12 again because it frags part of the projects settings, including
all compiler, linker and path ones!

I think that the addage of 'New features in Delphi won't be stable till the
next version or big patches comes out' still applies, even to D5. sigh

--

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Colin Fraser
 Sent: Monday, August 07, 2000 15:12
 To: Multiple recipients of list delphi
 Subject: [DUG]: Exceptions not getting caught


 Hi all,

 I have an app that when an exception occurs, it does get caught if you put
 in try finally or on Exception (etc) but if you don't handle it, it simply
 disappears... the default behaviour does not seem to occur.

 I can put a raise Exception.Create on a button on a form and
 execute it, and
 nothing happens (In the IDE Delphi does break for it, but outside
 of the IDE
 it does nothing (and the code following it does not execute either, so
 something is happening))...

 Just wondering if there is a way to turn the default exception handling on
 or off...

 I have looked through the compiler directives but have not found
 anything...

 The app has a few third party controls... just wondering if they have
 somehow turned off the default exception handling.

 Thanks for any help.

 Colin


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Exceptions not getting caught

2000-08-06 Thread Colin Fraser

Hi all,

I have an app that when an exception occurs, it does get caught if you put
in try finally or on Exception (etc) but if you don't handle it, it simply
disappears... the default behaviour does not seem to occur.

I can put a raise Exception.Create on a button on a form and execute it, and
nothing happens (In the IDE Delphi does break for it, but outside of the IDE
it does nothing (and the code following it does not execute either, so
something is happening))...

Just wondering if there is a way to turn the default exception handling on
or off...

I have looked through the compiler directives but have not found anything...

The app has a few third party controls... just wondering if they have
somehow turned off the default exception handling.

Thanks for any help.

Colin


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Exceptions not getting caught

2000-08-06 Thread Colin Fraser

Thanks

That was indeed the bugger!!! (though the file name was AppEvnts... pretty
close though!!)

Help muchly appreciated!!

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nahum Wild
Sent: Monday, 7 August 2000 4:15 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Exceptions not getting caught


I had a problem with exactly the same symptoms.  I did manage to solve it
and posted a 'how to' to this list a bit before christmass 1999.  I've
included below, hope it helps...


Nahum Wild
Game Designer
Realism Ltd

Pre-Register now for the ESDAO beta test!
http://www.esdao.net


--

In D5 there is a new non-visual component under the Additional tab called
TApplicationEvents.  This allows you to hook into the global Application var
events through the TApplicationEvents events oldly enough.  I was checking
out the ability to easily add exception handlers for indvidual forms and
when I finished with it I deleted the component from the form.  But it still
left the reference to AppEvents.pas in the forms uses clause.  This is where
the problem occured.

For some unknown reason by just having that pas referenced, but not being
used directly by me, it was adding its own eventhandler by hooking into
Application.OnException.  It was then doing nothing when an exception was
raised by my app!  It was not even showing the exception message to me!  The
only way I could find out about any exceptions (including asserts as they
are exceptions) was to be running under the IDE and seeing them occur.  It
was effectivly supressing the exceptions.  The way to solve this is to just
simply remove the AppEvents.pas reference in the uses clause.

Anyway I thought that I would warn you all so you don't end up wasting a
large amount of time with it like I have.

Also, don't ALT+F12 a TFrame, do some editing like change component types
then ALT+F12 again because it frags part of the projects settings, including
all compiler, linker and path ones!

I think that the addage of 'New features in Delphi won't be stable till the
next version or big patches comes out' still applies, even to D5. sigh

--

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Colin Fraser
 Sent: Monday, August 07, 2000 15:12
 To: Multiple recipients of list delphi
 Subject: [DUG]: Exceptions not getting caught


 Hi all,

 I have an app that when an exception occurs, it does get caught if you put
 in try finally or on Exception (etc) but if you don't handle it, it simply
 disappears... the default behaviour does not seem to occur.

 I can put a raise Exception.Create on a button on a form and
 execute it, and
 nothing happens (In the IDE Delphi does break for it, but outside
 of the IDE
 it does nothing (and the code following it does not execute either, so
 something is happening))...

 Just wondering if there is a way to turn the default exception handling on
 or off...

 I have looked through the compiler directives but have not found
 anything...

 The app has a few third party controls... just wondering if they have
 somehow turned off the default exception handling.

 Thanks for any help.

 Colin


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Empty Componet Pallete

2000-07-03 Thread Colin Fraser



You have to 
(well, at least this is how I have got it working...) do an install under the 
logged on user...

You can just 
check the registry only install which is heaps quicker and the user does not 
have to be an Administrator...

Also, from 
memory (the last couple of times I have done it the above way), I think you can 
manually install all the packages using the Delphi Install package 
dialogues.

Regards

Colin

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Mark 
  HowardSent: Wednesday, 5 July 2000 12:21 amTo: Multiple 
  recipients of list delphiSubject: [DUG]: Empty Componet 
  Pallete
  Hi guys
  
  Am upgrading two things concurrently: D3 - D5 and NT4 - 
  W2K.
  
  I installed D5 to W2K as user Administrator.
  
  When I start up D5 as Administrator, all is OK, but if I start it up as 
  Mark then the component pallete is empty.
  
  I have shared the Borland directory.
  
  Is anybody able to save me some time, please?
  
  Thanks
  
  Mark


RE: [DUG]: Serial port access

2000-06-28 Thread Colin Fraser

We use Async Pro... It comes with all sorts of other stuff such as faxing a
tapi components...

It is not freeware however... see www.turbopower.com

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Juan Manuel Gomez Ramos
Sent: Thursday, 29 June 2000 9:17 am
To: Multiple recipients of list delphi
Subject: [DUG]: Serial port access


  Hi delphians:

  Does anybody know about a component which allow me to access and
control the transmission through the serial port?


  Juan Manuel Gomez Ramos
  Computer Science student at Havana University
  Paraglider pilot and RadioHam (CM9BPG)

  email:[EMAIL PROTECTED]
[EMAIL PROTECTED]
  eFax: +1-707-313-0329 (USA)
+44-870-125-4936 (UK)
  ICQ:  62091995
  http://cronos.freeservers.com

  Hope is faith holding out its hand in the dark.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Gradient Fills

2000-06-27 Thread Colin Fraser

Thanks for the code... Just what I was looking for.

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matt Powell
Sent: Monday, 26 June 2000 3:12 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Gradient Fills


 Hi all, just wondering how everyone else does gradient fills... do you do
it
 manually or is there a fast function...

Here's a routine I built in about 10 minutes. It certainly isn't optimal (it
has a comparison inside a loop when the result of the comparison is constant
for the duration of the loop, for example), but on my P200 it fills the
entire screen in about 45ms on average - with WinAmp running in the
background... :)

This works like the function described in the help snippet you attached,
with the exception of the "steps" variable (used as a rough "quality"
variable). Lower values are faster, but look blockier. Values over 256 will
add execution time with no upgrade in quality :) If you're worried about
flicker, one approach I've used when making components is storing a TBitmap
with the gradient in it, then redrawing only at resize time or when the
colours are changed...

 I found a GradientFill in the Windows unit... couldn't find any
 documentation for it in Delphi, implemented it, found that it needed Win
 2000 or Win 98 to work (I guess that is why it wasn't documented!)...

Usually Win 98/2K only functions seem to be documented in the SDK help,
tho'... I wonder why this one wasn't...

 Marching onwards I found the below in Delphi's help... Couldn't get that
 working (or find the appropriate function) either.

No... I think it needs a special type of Canvas...

HTH,

- Matt

8---

procedure MyGradientFill(Canvas: TCanvas; Rect: TRect; StartColor, EndColor:
TColor; Horizontal: Boolean; Steps: Integer);
var
 i, d, u, v: Integer;
 r1, g1, b1, r, g, b: Byte;
 dr, dg, db: Integer;
 c1, c2: LongInt;
 rct: TRect;
begin
 r1 := (StartColor and $FF);
 g1 := (StartColor and $FF00) shr 8;
 b1 := (StartColor and $FF) shr 16;

 dr := (EndColor and $FF) - r1;
 dg := ((EndColor and $FF00) shr 8) - g1;
 db := ((EndColor and $FF) shr 16) - b1;

 rct := Rect;

 if Horizontal then
  d := Rect.Right - Rect.Left + 1
 else
  d := Rect.Bottom - Rect.Top + 1;
 if d  Steps then
  Steps := d;

 with Canvas do
 begin
  Brush.Style := bsSolid;
  for i := 0 to Steps do
  begin
   if Horizontal then
   begin
rct.Left := MulDiv(d, i, Steps);
rct.Right := MulDiv(d, i + 1, Steps);
   end else
   begin
rct.Top := MulDiv(d, i, Steps);
rct.Bottom := MulDiv(d, i + 1, Steps);
   end;
   r := r1 + MulDiv(dr, i, Steps);
   g := g1 + MulDiv(dg, i, Steps);
   b := b1 + MulDiv(db, i, Steps);
   Brush.Color := r or (g shl 8) or (b shl 16);
   FillRect(rct);
  end;
 end;
end;

8---



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Gradient Fills

2000-06-25 Thread Colin Fraser

Hi all, just wondering how everyone else does gradient fills... do you do it
manually or is there a fast function...

I found a GradientFill in the Windows unit... couldn't find any
documentation for it in Delphi, implemented it, found that it needed Win
2000 or Win 98 to work (I guess that is why it wasn't documented!)...

Marching onwards I found the below in Delphi's help... Couldn't get that
working (or find the appropriate function) either.

Any help appreciated.

Regards

Colin

---Delphi Help on Gradient Fill Follows-
Applies to

TCanvas

Declaration

procedure GradientFill(Canvas: TCanvas; Const Rect: TRect; top, bottom:
TColor; Horizontal: Boolean);

Description

The GradientFill method is used to fill a Screen area with multi-colored
lines to obtain a nice shadow effect and coloured backgrounds. The
Chart.Gradient component uses this method internally. Chart.pas must be in
your uses clause.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Acrobat and PDR Writer

2000-06-05 Thread Colin Fraser

May or may not be any help...

But for the creation of our pdf files we have switched to distiller... You
can get it working without any file dialogue boxes, also we have noted that
some pdf files created with PDF writer creates nice small pdfs but when you
print them they (or at least some of them) balloon in size in the print
queue... we have had 100-150K size PDFs balloon to 10+ Megs in the print
queue and take ages... the same files distilled print just fine.

Regards

Colin Fraser

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Eion McIntosh (CHCH)
Sent: Tuesday, 6 June 2000 4:05 pm
To: Multiple recipients of list delphi
Subject: [DUG]: Acrobat and PDR Writer


Hi

Has anyone had the experience of using Delphi and using the PDF writer,
installed for Adobe Acrobat, to create a PDF file?
We have an application which assigns the PDF writer printer driver and
creates the report as a PDF file format and works brilliantly.

The only thing is that each time the program goes to write to the file
it calls the 'Save Dialog' box to to confirm the name of the file.
The report can create a number of different named files but I do not
want it to call the 'Save Dialog' box each time to confirm the name  for
each file.

Has anybody tried this or got any ideas?

Regards
Eion McIntosh
PPCS Ltd
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Coding Standards

2000-05-08 Thread Colin Fraser

Here is another one with a begin/end style that a lot of people also tend to
use...

http://www.artemisalliance.com/csdelphi.htm

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Kerry Sainsbury
Sent: Tuesday, 9 May 2000 4:33 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Coding Standards


 this should save you some time  :)


http://community.borland.com/soapbox/techvoyage/article/1,1795,10280,00.html

 Neil

Thanks a lot.

I broke my own cardinal rule -- I posted before I searched!  Oh the shame!

Sigh.
Kerry


 -Original Message-
 From: Kerry Sainsbury [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 9 May 2000 15:48
 To: Multiple recipients of list delphi
 Subject: [DUG]: Coding Standards


 Hi Team,

 The project I'm involved with is lacking a formal Delphi Coding Standards
 document, and Powers That Be (tm) are asking for one.

 Does anybody have some standards that we can use as a base?

 Thanks a lot for your help!

 Cheers,
 Kerry Sainsbury
 Brocker Investments

 -- Win2k: "It's not so much that it's only 65,000 bugs,
it's just that they stopped at 65,535 to prevent an overflow"

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Sockets..

2000-05-07 Thread Colin Fraser

I might be looking at doing a little bit of light socket stuff in the
future...

Is the general consensus that other components such as the ICS ones are
superior to the ones that come in Delphi 5??

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Wilfred Verkley
Sent: Monday, 8 May 2000 3:13 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Sockets..


Most Delphi WinSock components will do these things, but have a look at ICS.
It can do all these things, is free and well supported, and has a lot of
examples.

http://users.swing.be/francois.piette/icsuk.htm



-Original Message-
From: Matthew Comb [mailto:[EMAIL PROTECTED]]
Sent: Monday, 8 May 2000 15:03
To: Multiple recipients of list delphi
Subject: [DUG]: Sockets..


Hi people, just a follow up to my earlier post.

What is the best connection method (set of components?) using TCP\IP (or
not??)

That can do the following.

1. send text in both directions.
2. send streams in both directions.
3. Maintain a connection and know when disconnected.

Any help would be appreciated.

Nic, your a bit of a wizz at this sort of stuff as I recall,

Matt.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Liquid Crystal Display

2000-04-18 Thread Colin Fraser

There are a few around that I have seen...

You could check the Delphi Super page... also, I recall there is one on one
of the CDs that came with Delphi 5...

If you have Delphi 5 check the LMD Demo... I am sure that it contains an LCD
display component (without source in the demo).

Regards

Colin

ps. Just checked some old downloads... have a TLed component... freeware
with source from 1998... can email it to you if you are interested, not sure
on the quality (only 10K in size)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Wednesday, 19 April 2000 10:58 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Liquid Crystal Display


mmmno this is not wat I am wanting to do.
Basicallu I am writting an OCX that we will be using in our new training in
manuals that will be a VIRTUAL 512SE ( 512SE is one of our hardware units we
make) and it uses a 40x4 char LCD.
I CAN emulate it a liitle with a memo field and changing the backcolour of
it to LOOK like a 40x4 LCD display, BUT I would like a control if one
exists.

Thanks, Jeremy Coulter

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Kerry Sainsbury
 Sent: Wednesday, 19 April 2000 09:02
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Liquid Crystal Display


 I doubt this will help, but... Nokia have a WAP development kit
 that you can
 download from their website (www.forum.nokia.com) which includes a
 cell-phone emulator. I have no idea what kind of access is provided to the
 emulator. It's intended for WAP development (you can think of WAP as HTML
 for a cell-phone, so you can surf the 'web' via your phone).

 This may, or may not, be what you're trying to do anyway.

 Cheers,
 Kerry Sainsbury
 Brocker Investments

 -- Win2k: "It's not so much that it's only 65,000 bugs,
it's just that they stopped at 65,535 to prevent an overflow"

 - Original Message -
 From: Jeremy Coulter [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Wednesday, April 19, 2000 7:36 AM
 Subject: [DUG]: Liquid Crystal Display


  Hi all.
 
  has anyone come across any components which emulate Liquid Crystal
 Displays
  ?
  I have seen a number of comps that are little LED type things, but they
 are
  not quite what I am looking for...the thing I am looking for is
 something
  that will emulate the screens on one of the more modern Cellphones etc.
 
  I am not bothered if it is share or freeware.
 
  Thanks,
 
  Jeremy Coulter
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Liquid Crystal Display

2000-04-18 Thread Colin Fraser

Sorry... should have read your original message a bit better...

From memory, the LMD tools one does allow you to have a 'pixel' mode (it
displays as dots more like a LCD rather than little bar lines like LEDs)...
probably not much help though... epically if you want to do anything
graphical or have things halfway between 2 lines etc.

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Wednesday, 19 April 2000 11:47 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Liquid Crystal Display


Thnaks Colin...but this is an *LED* display...Light Emmitting Diode, I what
Liquid Crystal Displayalthough there are some cool componets in that
package for free tho !

Thanks, Jeremy Coulter

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Colin Fraser
 Sent: Wednesday, 19 April 2000 11:09
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Liquid Crystal Display


 There are a few around that I have seen...

 You could check the Delphi Super page... also, I recall there is
 one on one
 of the CDs that came with Delphi 5...

 If you have Delphi 5 check the LMD Demo... I am sure that it
 contains an LCD
 display component (without source in the demo).

 Regards

 Colin

 ps. Just checked some old downloads... have a TLed component... freeware
 with source from 1998... can email it to you if you are
 interested, not sure
 on the quality (only 10K in size)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Jeremy Coulter
 Sent: Wednesday, 19 April 2000 10:58 am
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Liquid Crystal Display


 mmmno this is not wat I am wanting to do.
 Basicallu I am writting an OCX that we will be using in our new
 training in
 manuals that will be a VIRTUAL 512SE ( 512SE is one of our
 hardware units we
 make) and it uses a 40x4 char LCD.
 I CAN emulate it a liitle with a memo field and changing the backcolour of
 it to LOOK like a 40x4 LCD display, BUT I would like a control if one
 exists.

 Thanks, Jeremy Coulter

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Kerry Sainsbury
  Sent: Wednesday, 19 April 2000 09:02
  To: Multiple recipients of list delphi
  Subject: Re: [DUG]: Liquid Crystal Display
 
 
  I doubt this will help, but... Nokia have a WAP development kit
  that you can
  download from their website (www.forum.nokia.com) which includes a
  cell-phone emulator. I have no idea what kind of access is
 provided to the
  emulator. It's intended for WAP development (you can think of
 WAP as HTML
  for a cell-phone, so you can surf the 'web' via your phone).
 
  This may, or may not, be what you're trying to do anyway.
 
  Cheers,
  Kerry Sainsbury
  Brocker Investments
 
  -- Win2k: "It's not so much that it's only 65,000 bugs,
 it's just that they stopped at 65,535 to prevent an overflow"
 
  - Original Message -
  From: Jeremy Coulter [EMAIL PROTECTED]
  To: Multiple recipients of list delphi [EMAIL PROTECTED]
  Sent: Wednesday, April 19, 2000 7:36 AM
  Subject: [DUG]: Liquid Crystal Display
 
 
   Hi all.
  
   has anyone come across any components which emulate Liquid Crystal
  Displays
   ?
   I have seen a number of comps that are little LED type
 things, but they
  are
   not quite what I am looking for...the thing I am looking for is
  something
   that will emulate the screens on one of the more modern
 Cellphones etc.
  
   I am not bothered if it is share or freeware.
  
   Thanks,
  
   Jeremy Coulter
  
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
 


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Inter-process Communication - List Server Archive

2000-04-10 Thread Colin Fraser

Hi,

I recall a conversation on this list a while ago about Inter process
communication... Just wondering if someone can point me in the direction to
an archive of old messages so I can go and have a peek...

Regards

Colin

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Date/Time calculations

1999-12-16 Thread Colin Fraser

Hi Well...

I might not know all the answers... but I know this one!!

Q: How does one store a date less than 1899 using a Delphi program?

A: You can have negative date values.

Regards

C Fraser

Snip

 Subtracting 30/12/1899 from the Years won't help - not unless you always
 want your age calculated as X days from 30/12/1899 (a date's idea of 0).

A person's age is their date of birth subtracted from the current date. The
30/12/1899 offset is an arbitrary one (Delphi1 used a date calculated from
the year 1; Pdox uses  BC.

How does one store a date less than 1899 using a Delphi program?

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Databases....

1999-12-13 Thread Colin Fraser

Hi all,  just a side question...

Does anyone have any comparisons between Borland's IBX controls and Jason
Wharton's IBO controls.

Just wondering which way we should jump... and whether any performs better
than the other.

Regards

C Fraser

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Tuesday, 14 December 1999 11:25 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Databases


If using IBX you still need to install the interbase client on the client
machines.

We have been using the FreeIB upon which IBX was based, and it works very
well, the best part being no BDE setup required. Have not yet moved to using
IBX. We did make some minor changes to the FreeIB source to improve
something's.

I think you will find IBX faster than via ADO, just due to less software
layers being used and also IBX talks directly to the Interbase server,
compared to ADO having to use ODBC to talk to the IB server.

If using ADO you will need to install the Interbase ODBC driver on the
client machines and configure the ODBC setup. Of course if IB at sometime
ships with a direct ADO/OLE DB provider, then this would even the equation
out and perhaps favour the ADO approach for pure portability between DB
reasons.


 -Original Message-
 From: Donovan J. Edye [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, 14 December 1999 11:02
 To:   Multiple recipients of list delphi
 Subject:  [DUG]:  Databases

 G'Day All,

 I am looking for some advice. Currently we have a real time system that is
 running off Paradox as the back end. It appears however that the DBMS is
 getting close to its use by date so a "real" DBMS is being considered (Why
 now only was my question too). At present the contenders are:

 - MS-SQL7
 - Interbase 5.x
 - MySQL

 My only previous experience is with M$ so I need to broaden my perspective
 here. IB  MySQL have the benefit of having Linux cousins so they have an
 advantage there. IB also has IBX. Can someone tell me about there
 experiences with IBX?? In not using the BDE what does it use? Can IB also
 be
 accessed via ADO? Is ADO the new route to go down in terms of DB access??

 Any pointers, suggestions, FAQs, ReadMe etc. would be greatly
 appreciated...

 
 --Donovan
 Donovan J. Edye [www.edye.wattle.id.au]
 Namadgi Systems, Delphi Developer
 Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
 Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
 TVisualBasic = Class(None);
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Mem Management Routines

1999-10-10 Thread Colin Fraser

Hi,

Just wondering if there was any significant difference with the following:

GetMem(PtrMapiFileDescs,   Attachments.Count * SizeOf(MapiFileDesc));
FillChar(PtrMapiFileDescs^, Attachments.Count * SizeOf(MapiFileDesc),
0);

vs

PtrMapiFileDescs := AllocMem(Attachments.Count * SizeOf(MapiFileDesc));

From the Help AllocMem zeros the memory. Both use FreeMem to free the
memory. Just wondering if there is any reason why GetMem and AllocMem don't
reference each other in the help. Is one method better than the other???

Do they do exactly the same job (apart from the zeroing)?

Any thoughts appreciated

Regards

Colin

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Code explorer ceases to respond

1999-10-10 Thread Colin Fraser

Yip, but also had the problem in D4

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Neven MacEwan
Sent: Monday, 11 October 1999 3:23 pm
To: Multiple recipients of list delphi
Subject: [DUG]: Code explorer ceases to respond


Hi

Does anyone else have this problem

In D5 the code explorer stops reponding - Reload and it comes right

Thanks

Regards Neven

N.K. MacEwan B.E. EE


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Strings and Win API calls...

1999-10-07 Thread Colin Fraser

Hi all,

I am just wondering exactly how one should go about passing strings in
structures to API calls...

I have been mucking around with MAPI stuff and come across the following
when dealing with attachments:

  if Attachments.Count  0 then
GetMem(PtrMapiFileDescs, Attachments.Count * SizeOf(MapiFileDesc));
for i := 0 to Attachments.Count - 1 do
  with PtrMapiFileDescs^[i] do begin
ulReserved   := 0;
flFlags  := 0;
nPosition:= $;
lpszPathName := PChar(Attachments[i]); {Attachments is a TStrings
object}
lpszFileName := nil;
lpFileType   := nil;
  end;

Now the above works when there is only 1 attachment, but if there are 2 then
the end of the filename of the first one gets screwed up by the writing of
the second. I can't really see why this occurs...

If I explicitly create a PChar and allocate space for it and assign the
attachment string to it, it all works fine...
Just more work involved making sure that you latter free the space assigned
to all the strings for each attachment...

Just wondering why the first method doesn't work for multiple attachments.

Regards
Colin

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: [Q] Common Ancestor - TCanvas....

1999-09-29 Thread Colin Fraser

The Delphi Informant magazine had an article on RTTI (in Delphi 5... might
still be interesting though...) on there WEB site, here is the address...
(Note the www.delphimag.com address... The Delphi Magazine - competition to
The Delphi Informant Magazine were not to impressed!!)

Anyway, here it is...

http://www.delphimag.com/features/1999/11/di199911bt_f/di199911bt_f.asp

Regards

Colin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Donovan J. Edye
Sent: Wednesday, 29 September 1999 7:02 pm
To: Multiple recipients of list delphi
Subject: [DUG]: [Q] Common Ancestor - TCanvas


G'Day All,

As part of a component I would like one of the properties to be a list of
controls that have a canvas property. Now I realise that I could traverse
all the components owned by the form to determine if it had a TCanvas
property. However what I don't understand is:

- What type do I make the property? TPersistent?
- If I did the above there would be a need to typecast the property. There
must be a better way to do that aside from if The_Control is TImage then
TImage(The_Control).Canvas etc.

Any pointers etc. would be greatly appreciated.



--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic := Class(None);




 winmail.dat


[DUG]: Delphi 5 Bug...

1999-09-16 Thread Colin Fraser

Yip,

I think I found one already...

It is to do with the OnContextPopup event which has been newly introduced...

In our app we used to look for right clicks and Shift-F10 keyboard
combinations to popup context menus for List view items much like
explorer... We didn't respond to the new keyboard key yet, so I thought, Ok,
not much code changing required to get it to work with all forms of Context
Menu generation (as explained in the help file)... Great!

The help file says:

type TContextPopupEvent = procedure(Sender: TObject; MousePos: TPoint, var
Handled: Boolean) of object;

Description

Sender is the control for which the user requested a popup menu.

MousePos indicates the position of the mouse, in client coordinates, when
the user clicked the right mouse button. If the user did not use a right
click to invoke the popup (for example, if the event occurs in response to
keyboard input), MousePos is (-1,-1).

In particular, the problem is with the MousePos = (-1, -1) bit... it is not
True, so it makes it hard to determine when you are responding to keyboard
input and when you are responding to Mouse input (important when you are
trying to identify which item the user wants the context menu to pop up
for).

Also in testing this, I used a ShowMessage(ListItem.Caption) to show which
item the context menu was for... This also had another strange behaviour in
that hitting Enter to close the MessageBox didn't... It brought up the
Move/Close menu for the Message Box!!

Sorry to bore you with the details, just thought some might be interested...
and as the new Context Menu stuff stops my old code from working I shall
have to find a new way of doing things... Sigh...

Regards

Colin Fraser
Hill Laboratories
Hamilton
New Zealand

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: ANN: Delphi 5 shipping in NZ

1999-09-15 Thread Colin Fraser

I must admit I strongly dislike (not quite hate!) using Delphi 3 after using
Delphi 4.

I think the IDE stuff in Delphi 4 was worth the upgrade alone... though you
could get similar functionality by using add on products like Class
Explorer, etc...

The client-server (or Enterprise) upgrade price is steep!! Though, I guess
if you are doing Enterprise development it would be worth the price.

This time round (for the mean time anyway) we have gone for D5 Prof with the
add on products, if we get into WEB development or need any of the other
Enterprise stuff we will then look at purchasing the Enterprise addition.

I think Borland (or Inprise) listened to the moans of their clients last
time and provided the add on extras to the professional version of D5 which
were not available last time.

That's my $0.02 worth...

Regards

C Fraser



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Phil Scadden
Sent: Thursday, 16 September 1999 8:52 am
To: Multiple recipients of list DELphi
Subject: Re: [DUG]: ANN: Delphi 5 shipping in NZ


 Just someone mentoned adjusted prices and I wondered if perhaps the
 somewhat
 unrealistic 3.5K Upgrade price for some thing that apperntly has little
new
 to offer, but supposedly addresses the bugs in D4. Considering that D4 is
 only one year old, its one hell of a price!

 Guesse I'l sit this one out.

We decided to sit on 3 and wait for 5 because of just such outrageous prices
for D4.
After hearing of D4's problems, I am glad we did. Given D3 stability, its
still hard to
work up a business case for D5 C/S. The things in D3 C/S that made it sound
attractive turned out to be mostly 3rd party stuff that worked badly. The
exception
being SQL-link. With so many BDE alternatives for native access, that is no
longer an issue. I think we have to look hard now at just D5 professional
with
add-ons for specific functionality that I need.
same.

--
Phil Scadden, Institute of Geological and Nuclear Sciences
PO Box 30368, Lower Hutt, New Zealand
Ph +64 4 5704821, fax +64 4 5704603
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Add in for changing components

1999-09-07 Thread Colin Fraser

I have heard that GExperts is quite good...

Except for the Component replace bit... which is buggy... Haven't used it
myself, just heard about it.

Regards

C Fraser

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Neven MacEwan
Sent: Wednesday, 8 September 1999 4:53 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Add in for changing components


re GExpert

1/ Installed it
2/ changed TwwQuery to TmwkQuery
3/ lost Positions SQL Text  Links to Datasources
4/ close project No save
5/ Post bug report to gexperts
6/ open in pas in editor, edit DFM i.e. change the old fashioned way...

Still have it installed for ASCII table - maybe I can stop using sidekick
2.0

Regards
Neven





- Original Message -
From: Donovan J. Edye [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Wednesday, 8 September 1999 13:29
Subject: RE: [DUG]: Add in for changing components


 Neven,

 http://www.gexperts.com/gexperts/

 does this for you and a whole heap more

 --Donovan
 Donovan J. Edye [www.edye.wattle.id.au]
 Namadgi Systems, Delphi Developer
 Web: www.namsys.com.au
 E-Mail: [EMAIL PROTECTED]
 Voice: +61 2 6285-3460
 Fax: +61 2 6285-3459
 TVisualBasic := Class(None);


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
 Behalf Of Neven MacEwan
 Sent: Wednesday, 8 September 1999 11:22
 To: Multiple recipients of list delphi
 Subject: [DUG]:  Add in for changing components

 Does anyone know of any add ins for Delphi 4 which changes a Component
Class
 by changing the pas and dfm simultaneously

 regds
 Neven


 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz

 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Circular unit references - gotta love'm!

1999-08-19 Thread Colin Fraser

Sounds good...

I have 1 or possibly 2 new Delphi Developers that may be keen (depending on
the price ;-))

Regards
Colin Fraser
Hill Laboratories
Hamilton
New Zealand

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Kerry Sainsbury
Sent: Thursday, 19 August 1999 6:32 pm
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Circular unit references - gotta love'm!


I absolutely agree with you.
The automatic Application.CreateForm(TForm1, Form1) code is disgusting.
The automatic creating of a global variable in the form's unit is
disgusting.
The fact that components dropped on a form have public scope is disgusting.

People: You should NOT be using these 'niceities' in your code.

If I organised a 'How to write nice Delphi code' or 'How to use Delphi
properly' style training session, do you think anybody would be interested
in attending? I think it would be especially useful to new developers.

This would have to be a real you-have-to-pay-money training course, to keep
Annie happy (and me employed).

Waddaya reckon folks?

Cheers,
Kerry "The new guy at Inprise" S

*** REPLY SEPARATOR  ***

On 8/19/99 at 3:30 PM Aaron Scott-Boddendijk wrote:

 Whew! I feel slightly vindicated about my comment about circular
 references usually indicating a problem with design.

 The place I encounter it most often is with people who have a zillion
 forms, all of which have references to one another. Yuck!

one gripe I have relating to forms is the automatic adding to the DPR
file of

Application.CreateForm(TFormX,FormX);

since most of my forms are designed to be reused they do not have
a form object variable at all as these are created on the fly either as
local variables or structures like

with TFormX.Create(nil) do try
  if ShowModal(MyParameter)=mrOK then...
finally
end;

Another one is the naming scopes for components when hijacking controls
off another form can get you into trouble especially if you're a keen user
of
actionlists and often don't name your Toolbar buttons since all interaction
is
managed by the actionlist.  Forms don't like having 2 components named the
same even if the duplication is 'owned' on another form...

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Open GL question

1999-07-05 Thread Colin Fraser

Hi all,

I am just playing round (a little) with open GL.

One thing that I can't find out how to do is to get a 2D co-ordinate (in
pixels of the window client area) of a point in 3D space.
I want to know this so that I can tell when an object flies off my window.

Anyone have any ideas or pointers??

Regards
Colin Fraser

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Problem Reinstalling Delphi

1999-02-15 Thread Colin Fraser

Hi,

We have just reinstalled NT4 with SP4 and reinstalled Delphi 4.02 Prof.

We are getting the following error when trying to run the any application,
even a new blank one:

'Debugger Kernel BordBK40.dll is missing or not registered'

Well, it is not missing and it appears in the registry.

We can build the app OK, it just doesn't want to run.

Has anyone got any ideas???

(By the way, we have reinstalled... uninstalled, reinstalled... uninstalled,
deleted, reinstalled... but to no avail.)

Any help appreciated.

Regards

Colin Fraser
Hill Laboratories
Hamilton
New Zealand

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Help with shutting down WinNT

1999-02-04 Thread Colin Fraser

Hi,

I have a program which at the end of its execution shuts down the computer.

I have used ExitWindowsEx fine with Win 98 but with NT it doesn't work...
the help says you have to dive into changing privileges, and Access Tokens,
and somehow LUIDs come into it... though I don't know why.

I have had a bit of play with it and haven't got it working... just
wondering if anyone might have a code snippet that works before I spend
hours trying to figure it all out.

Any info appreciated.

Regards

Colin Fraser
Hill Laboratories
Hamilton
New Zealand

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz