Re: [DUG]: The Long and Winding Road
Peter Harrop wrote: The thing is, I can program in Turbo Pascal as easy as writing an essay. I presume it will be the same with Delphi with practice and experience. I'm a first time Windows programmer. I installed Delphi two weeks ago I have a utility app almost complete with a nice pretty GUI with pulldown menus, right-click hotkeys, radio buttons, open save file dialogs, reading writing to files, progress bars etc. I'm not even proficient (is that the word?) in Pascal, though I did use it for a year at Uni 20 years ago. Go for it Peter. Ross. --- 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]: The Long and Winding Road
Sorry Peter I know it is the wrong answer but you really have no choose except re-write to get a reasonable windows app. My advice is, if you want a console app then stick with your 16-bit executable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Harrop Sent: Monday, June 25, 2001 5:46 PM To: Multiple recipients of list delphi Subject: [DUG]: The Long and Winding Road Hi, I'm new to this list. Starting about 12 years ago, I have what is now a very large VGA Dos commercial application created using Turbo Pascal. I have finally decided to bite a considerably well stocked bullet and have a look at converting it to Windows using Delphi 6, which I am in the process of ordering. I'm from the old school, having learnt Pascal back in the early 80's, so am not used to the Object Orientated style. Questions : 1) If I was to program in CONSOLE mode, would I have access to graphics commands like LINE or RECTANGLE (or the Delphi equivalents) ? 2) In Standard mode, do you need to keep strictly to an OBJECT style ? It would make it easier if I could just convert all my spaghetti junction like code straight over and only have the screen graphics and data structures to worry about. Also : Does anyone have a Beta copy of Windows XP ? Let me know. Peter Harrop in the Waikato. --- 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
Re: [DUG]: The Long and Winding Road
Chris Reynolds wrote: Sorry Peter I know it is the wrong answer but you really have no choose except re-write to get a reasonable windows app. My advice is, if you want a console app then stick with your 16-bit executable. Thanks Nic and Chris, I'm just a bit worried that Windows will become less and less compatible with Dos applications as time goes by. Which is why I was wondering whether anyone had a Beta version of Windows XP so that they could do me a big favour and test my application with it, so I can find out now whether I have to rush into converting to Delphi or take it more leisurely. --- 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]: The Long and Winding Road
Peter try this link. It may be of interest to you. http://xtra.co.nz/technology/0,,818-537322,00.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Harrop Sent: Tuesday, June 26, 2001 11:34 AM To: Multiple recipients of list delphi Subject: Re: [DUG]: The Long and Winding Road Chris Reynolds wrote: Sorry Peter I know it is the wrong answer but you really have no choose except re-write to get a reasonable windows app. My advice is, if you want a console app then stick with your 16-bit executable. Thanks Nic and Chris, I'm just a bit worried that Windows will become less and less compatible with Dos applications as time goes by. Which is why I was wondering whether anyone had a Beta version of Windows XP so that they could do me a big favour and test my application with it, so I can find out now whether I have to rush into converting to Delphi or take it more leisurely. --- 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
Re: [DUG]: The Long and Winding Road
Peter Like you I have long been programming DOS apps in Turbo Pascal but also windows apps in Delphi. I STRONGLY recommend getting your head around OOP as it makes life simpler,more predictable and much, much more fun. (Also reduces bugs and makes logical error much easier to find blah blah etc etc ...) As far as translating a DOS app to Windows 2000 / XP your main issues will be with I/O - if you have any direct access to serial ports etc you may have some problems - best to rewrite using Delphi components if available. Also if you have real time considerations then you will need to bone up on threads etc and how well you can rely on Windows to be there when it should be. I am starting to consider the needs of embedded systems with a GUI front end and I am currently tending to Linux / Kylix as a possible solution to real time issues etc. Note that the OS is free and there are a number of real time adaptations available ( some also free) . All in all a big learning curve however you decide to approach the issue :-( (could be fun tho') Hope this helps a little. Luck Paul Lowman Lowman Consulting Ltd. Embedded Systems Software [EMAIL PROTECTED] --- 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]: The Long and Winding Road
Thanks Paul and Alan, The only possible problem with the program running on XP is the use of mouse interrupts. The thing is, I can program in Turbo Pascal as easy as writing an essay. I presume it will be the same with Delphi with practice and experience. Peter. -Original Message- From: Paul Lowman [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Date: Tuesday, 26 June 2001 12:37 Subject: Re: [DUG]: The Long and Winding Road Peter Like you I have long been programming DOS apps in Turbo Pascal but also windows apps in Delphi. I STRONGLY recommend getting your head around OOP as it makes life simpler,more predictable and much, much more fun. (Also reduces bugs and makes logical error much easier to find blah blah etc etc ...) As far as translating a DOS app to Windows 2000 / XP your main issues will be with I/O - if you have any direct access to serial ports etc you may have some problems - best to rewrite using Delphi components if available. Also if you have real time considerations then you will need to bone up on threads etc and how well you can rely on Windows to be there when it should be. I am starting to consider the needs of embedded systems with a GUI front end and I am currently tending to Linux / Kylix as a possible solution to real time issues etc. Note that the OS is free and there are a number of real time adaptations available ( some also free) . All in all a big learning curve however you decide to approach the issue :-( (could be fun tho') Hope this helps a little. Luck Paul Lowman Lowman Consulting Ltd. Embedded Systems Software [EMAIL PROTECTED] --- 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
Re: [DUG]: The Long and Winding Road
Peter Harrop wrote: The thing is, I can program in Turbo Pascal as easy as writing an essay. I presume it will be the same with Delphi with practice and experience. Peter. You Will Love It(tm). Run, do not walk, to your nearest Delphi compiler... g cheers, peter Peter Hyde, SPIS Ltd WebCentre Ltd , Christchurch, New Zealand * http://BusinessDailyReview.com - daily analysis, strategy, ideas * http://TurboNote.com - sticky notes and instant messaging * Web automation for online periodicals: http://TurboPress.com --- 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]: The Long and Winding Road
Peter Peter Hyde is dead right - Delphi is so much fun I now find it a painful to go back to BP7. Paul Lowman Lowman Consulting Ltd. Embedded Systems Software [EMAIL PROTECTED] --- 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]: The Long and Winding Road
Hi, I'm new to this list. Starting about 12 years ago, I have what is now a very large VGA Dos commercial application created using Turbo Pascal. I have finally decided to bite a considerably well stocked bullet and have a look at converting it to Windows using Delphi 6, which I am in the process of ordering. I'm from the old school, having learnt Pascal back in the early 80's, so am not used to the Object Orientated style. Questions : 1) If I was to program in CONSOLE mode, would I have access to graphics commands like LINE or RECTANGLE (or the Delphi equivalents) ? 2) In Standard mode, do you need to keep strictly to an OBJECT style ? It would make it easier if I could just convert all my spaghetti junction like code straight over and only have the screen graphics and data structures to worry about. Also : Does anyone have a Beta copy of Windows XP ? Let me know. Peter Harrop in the Waikato. --- 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]: The Long and Winding Road
1) If I was to program in CONSOLE mode, would I have access to graphics commands like LINE or RECTANGLE (or the Delphi equivalents) ? No, but you can manually open a window and draw on it. 2) In Standard mode, do you need to keep strictly to an OBJECT style ? It would make it easier if I could just convert all my spaghetti junction like code straight over and only have the screen graphics and data structures to worry about. No, you dont _have_ to, but I'd recommend it. OO is nice once you get the hang of it, which is, IMO, not that hard. Might be a better idea to look at your app as a reference document and rewrite it all in Delphi from scratch. Sounds like the nasty way, but you end up spending a lot of time trying to make things that worked under the old system (in my case. Paradox) work the same under the new system (in my case, Interbase and MIDAS). In the long run, I dont think its worth it. Also : Does anyone have a Beta copy of Windows XP ? Let me know. yup, but unless you are an official beta tester (and hence, have it), I can't give it to you. 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