[DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Rohit Gupta
I am trying to convert my cmd line bat files to use D2007. They all work for all teh libraries, mine, codegear and 3rd party... that is except one. First I dont know which of the 3 packages I should have in the LU (use Package option). I have tried Indy100, IndyCore100 and IndySystem100.

Re: [DUG] D2007 / cant save .tlb file - COM issue

2007-07-31 Thread Robert martin
Hi Myles (and others) I have had a break through this morning. First, In answer to your questions Myles, The initialization of TAutoObjectFactory triggers fine. Could not find any reference to QueryInterface However We have foudn the root cause of the issue. On a machine where it works the

Re: [DUG] D2007 / cant save .tlb file - COM issue

2007-07-31 Thread Rohit Gupta
Just another annoying thing. The reason the IDE loads faster now is because it does not disappear when you close it. But if I close it its because I want it gone either because I have finished with for a few hours or because I am yanking the rug off from under it by replacing the libraries.

[DUG] D2007 Shutdown

2007-07-31 Thread Rohit Gupta
Just another annoying thing. The reason the IDE loads faster now is because it does not disappear when you close it. But if I close it its because I want it gone either because I have finished with for a few hours or because I am yanking the rug off from under it by replacing the libraries.

RE: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Myles Penlington
Beware that dcc32 is now really designed to use the .dproj files. My experience is that the dcc32 batch files I used with D2006 and earlier are not compatible. I have used the --noconfig on the command line in the D2007 version. Myles. -Original Message- From: [EMAIL PROTECTED]

Re: [DUG] D2007 Shutdown

2007-07-31 Thread Phil Scadden
I havent gone for D2007 yet as D2006 working okay for me. However the no. one annoyance with D2006 is the great succession of crash messages when you close, and the slow startup. Are these actually fixed in D2007? -- Phil Scadden, GNS

RE: [DUG] D2007 Shutdown

2007-07-31 Thread Myles Penlington
Always closes for me, does take some time to close down. It is much quicker to load, that is mainly because it no longer loads all the bpl's up front. When you open a form/project, it will then load some other bpl's if it needs to. Myles. -Original Message- From: [EMAIL PROTECTED]

Re: [DUG] D2007 Shutdown

2007-07-31 Thread Richard Vowles
Phil Scadden wrote: I havent gone for D2007 yet as D2006 working okay for me. However the no. one annoyance with D2006 is the great succession of crash messages when you close, and the slow startup. Are these actually fixed in D2007? It also completely goes for me. I occasionally get crash

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Richard Vowles
Rohit Gupta wrote: I am trying to convert my cmd line bat files to use D2007. They all work for all teh libraries, mine, codegear and 3rd party... that is except one. First I dont know which of the 3 packages I should have in the LU (use Package option). I have tried Indy100, IndyCore100 and

[DUG] CodeGear Event on August 16th

2007-07-31 Thread Richard Vowles
There is an Auckland CodeGear event focused around Highlander on the 16th. If you don't get an invite in the next 3-4 days, please let me know. Depending on how well it is attended, we may bring it to the other cities. Richard -- Richard Vowles, Product Evangelist Developers Inc Ltd (for

Re: [DUG] D2007 / cant save .tlb file - COM issue

2007-07-31 Thread Robert martin
Let me get this straight. You cant use the auto-registration as it accesses the registry You cant use RegSvr32 as it doesn't register exes. How exactly is one supposed to register an exe that provides COM support? Btw The only machine in this equation that is Vista is my machine. The

RE: [DUG] D2007 Shutdown

2007-07-31 Thread Phil Scadden
Have you applied the service patches and the hotfix rollups? Yes, all of the D2006 hotfixes. If you do program reset during debugging then it will crash on exit everytime. Sometimes will crash by simply opening it, opening a project and closing.

Re: [DUG] D2007 Shutdown

2007-07-31 Thread Rohit Gupta
Not sure about that as it does it on two different pcs. I assumed it was a feature. :-( Okay, I will do some more tests Steve Peacocke wrote: Rohit, I have no such problems. D2007 closes just fine and is completely gone. I would suspect (Count(gremlins) 0) Steve On 01/08/07, Rohit Gupta

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Rohit Gupta
Possibly, but its another thing to learn (maybe semi-relearn unix make syntax). I just want to get it up and running before I start tweaking things. Richard Vowles wrote: Rohit Gupta wrote: I am trying to convert my cmd line bat files to use D2007. They all work for all teh libraries,

Re: [DUG] D2007 / cant save .tlb file - COM issue

2007-07-31 Thread Jeremy North
I really want someone at Code gear to yell at !!! This is my third day on this one issue, I have work up the ying yang that I cant get done and I seem to find a new bug in D2007 every time I blink. If you have software assurance you have 3 support cases. Create one and get an answer from

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Richard Vowles
If it builds inside the IDE, then you have an MSBuild project that works - this is what D2007 creates from your existing project. You can then just run MSBuild from the command line Richard Rohit Gupta wrote: Possibly, but its another thing to learn (maybe semi-relearn unix make syntax). I

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Rohit Gupta
Why cant I trust it ? :-) The idea of the cmd line compiler is that 1. I can batch it to compile multiple project groups at once 2. This uses different compiler switches (for release) such as no assertions, optimisation on 3. These use run-time packages to lower the update footprint. I

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Richard Vowles
Rohit Gupta wrote: Why cant I trust it ? :-) The idea of the cmd line compiler is that 1. I can batch it to compile multiple project groups at once 2. This uses different compiler switches (for release) such as no assertions, optimisation on 3. These use run-time packages to lower the

[DUG] D2007 - different problems

2007-07-31 Thread Rohit Gupta
Before I was installing D2007 at work. Now I am doing it a t home. And I have been having a different set of problems. 1. The update instructions and the info displayed was confusing, so I canceled the update. This actually uninstalled the original D2007. 2. At startup it can not find

Re: [DUG] D2007 Shutdown

2007-07-31 Thread Rohit Gupta
Steve, you are right, now I have 8 copies of it in the task manager. There is no entry in the windows event log... any clues anyone ? Steve Peacocke wrote: Rohit, I have no such problems. D2007 closes just fine and is completely gone. I would suspect (Count(gremlins) 0) Steve On

Re: [DUG] D2007 Shutdown

2007-07-31 Thread Jeremy North
you are right, now I have 8 copies of it in the task manager. There is no entry in the windows event log... any clues anyone ? Is this a vanilla install? ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] D2007 Cmd Line Compiler

2007-07-31 Thread Rohit Gupta
Yeah, Fiji is overdue. I was there in high school for 3 years (on my way from India to here). I havent been back for over 25 years. Richard Vowles wrote: Rohit Gupta wrote: Why cant I trust it ? :-) The idea of the cmd line compiler is that 1. I can batch it to compile multiple

[DUG] Encryption Software

2007-07-31 Thread Rohit Gupta
Just for your Info.. I have been looking at and thrashing TrueCrypt. It works really well, especially for a freebie. It allows you to have encrypted files, folders or drives. It will even let you do a an encrypted drive inside another encrypted drive. :-) I want to use it for my USB

RE: [DUG] Encryption Software

2007-07-31 Thread Conor Boyd
I second that recommendation. Top notch bit of OSS. I use a TrueCrypt volume as a repository on my work PC for parking my offsite backups from home in. ;-) C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rohit Gupta I have been looking at and

Re: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Rohit Gupta
Just had an invite to the webinar on the 3rd Aug Richard Vowles wrote: There is an Auckland CodeGear event focused around Highlander on the 16th. If you don't get an invite in the next 3-4 days, please let me know. Depending on how well it is attended, we may bring it to the other cities.

RE: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Stephen Barker
Any luck registering? If I try to logon with what I think my password is it says: Incorrect email or password. If I use the forgotpassword link it says: The email address in invalid. please enter a new email address. If I register as a new user it says: User could not be created/updated due to an

Re: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Rohit Gupta
Stephen, it doesnt work from home, it didnt last time. I just tried it but I cant tell if it doesnt like my proxy server or if the web site is broken Stephen Barker wrote: Any luck registering? If I try to logon with what I think my password is it says: Incorrect email or password. If

RE: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Edward Koryagin
The same problem in FF.Works in IE --- Stephen Barker [EMAIL PROTECTED] wrote: Any luck registering? If I try to logon with what I think my password is it says: Incorrect email or password. If I use the forgotpassword link it says: The email address in invalid. please enter a new email

Re: [DUG] Encryption Software

2007-07-31 Thread Richard Vowles
WINK! Rohit Gupta wrote: Just for your Info.. I have been looking at and thrashing TrueCrypt. It works really well, especially for a freebie. It allows you to have encrypted files, folders or drives. It will even let you do a an encrypted drive inside another encrypted drive. :-) I want

[DUG] tMemo, Stop updating

2007-07-31 Thread Steve Peacocke
Bloody stupid question I know, but I spent all day traversing 3 tons of spaghetti code and my mind is mush. Is there a way that I can tell a tMemo component not to keep updating when I process all the lines. I have a tMemo component with, lets say 5-10,000 lines. I want to process through each

Re: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Alister Christie
Same problem. Hopefully we'll be able to get in on the day. Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Stephen Barker wrote: Any luck registering? If I try to logon with what I think my

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Neven MacEwan
Steve Memo1.lines.Beginupdate? or something like that Bloody stupid question I know, but I spent all day traversing 3 tons of spaghetti code and my mind is mush. Is there a way that I can tell a tMemo component not to keep updating when I process all the lines. I have a tMemo component with,

RE: [DUG] tMemo, Stop updating

2007-07-31 Thread Conor Boyd
Try LockWindowUpdate with the handle of your TMemo, followed by LockWindowUpdate(0) when you're done. HTH, C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Peacocke Bloody stupid question I know, but I spent all day traversing 3 tons of

RE: [DUG] tMemo, Stop updating

2007-07-31 Thread Chee Wee Chua
Look at and use BeginUpdate and EndUpdate. Can't remember if it's a method of TMemo or a method of the TMemo.Lines property. Best Regards, Chua, Chee Wee CCNA, MCSE, SCJP, SCSA, CodeGear(tm), from Borland Where developers matter www.codegear.com I have a tMemo component with, lets say

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Alister Christie
Perhaps: sl := TStringList.Create; sl.Assign(memo1.lines); //process sl memo1.lines.Assign(sl); Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Steve Peacocke wrote: Bloody stupid question I know,

RE: [DUG] tMemo, Stop updating

2007-07-31 Thread Stacey Verner
Yep. Memo.Lines.BeginUpdate; // Do stuff Memo.Lines.EndUpdate; This works with anything that is based on TStrings. Stacey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Wednesday, 1 August 2007 16:13 To: NZ Borland Developers Group

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Steve Peacocke
No, Thanks, but sorry that won't work. BeginUpdate will be for Data enabled components. This is a simple tmemo. Thanks anyway Steve On 01/08/07, Neven MacEwan [EMAIL PROTECTED] wrote: Steve Memo1.lines.Beginupdate? or something like that Bloody stupid question I know, but I spent all day

RE: [DUG] tMemo, Stop updating

2007-07-31 Thread Myles Penlington
No.No.No. Do not use LockWindowUpdate for these kind of cases. LockWindowUpdate is to be used for drag and drop cursor operations and nothing else (my basic understanding of it's development - check up in Raymond Chen blog about this) If you want to stop drawing use (any window handle can be

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Steve Peacocke
Ah - Lines DOES have BeginUpdate and EndUpdate methods, and they work. LockWindowUpdate(memo1.Handle); seemed to also work too, but did something funny near the end where it started to update when it was about 80% through. Thanks people. Steve On 01/08/07, Alister Christie [EMAIL PROTECTED]

Re: [DUG] tMemo, Stop updating

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

RE: [DUG] tMemo, Stop updating

2007-07-31 Thread Jeremy Coulter
Actually, if you start looking at the Tmemo code, which uses TMemostrings, you will find the begin update actually calls SendMessage(Memo.Handle, WM_SETREDRAW, Ord(not Updating), 0); so it is perfectly fine to call Begin adn end update on memos. Jeremy -Original Message- From:

Re: [DUG] tMemo, Stop updating

2007-07-31 Thread Steve Peacocke
On 01/08/07, Jeremy Coulter [EMAIL PROTECTED] wrote: Actually, if you start looking at the Tmemo code, which uses TMemostrings, you will find the begin update actually calls SendMessage(Memo.Handle, WM_SETREDRAW, Ord(not Updating), 0); so it is perfectly fine to call Begin adn end update on