Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.pascal.delphi.misc > #725 > unrolled thread
| Started by | "P E Schoen" <paul@pstech-inc.com> |
|---|---|
| First post | 2016-08-23 00:50 -0400 |
| Last post | 2016-08-23 17:40 -0400 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.pascal.delphi.misc
Lazarus and FreePascal "P E Schoen" <paul@pstech-inc.com> - 2016-08-23 00:50 -0400
Re: Lazarus and FreePascal "P E Schoen" <paul@pstech-inc.com> - 2016-08-23 01:30 -0400
Re: Lazarus and FreePascal Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-23 11:14 +0200
Re: Lazarus and FreePascal "P E Schoen" <paul@pstech-inc.com> - 2016-08-23 18:21 -0400
Re: Lazarus and FreePascal Marco van de Voort <marcov@toad.stack.nl> - 2016-08-24 08:30 +0000
Re: Lazarus and FreePascal Marco van de Voort <marcov@toad.stack.nl> - 2016-08-23 12:00 +0000
Re: Lazarus and FreePascal "P E Schoen" <paul@pstech-inc.com> - 2016-08-23 17:40 -0400
| From | "P E Schoen" <paul@pstech-inc.com> |
|---|---|
| Date | 2016-08-23 00:50 -0400 |
| Subject | Lazarus and FreePascal |
| Message-ID | <npgkmc$n6q$1@dont-email.me> |
Recently I discovered FreePascal and the Lazarus IDE. I was rather skeptical about how useful it might be as a replacement for Borland Delphi (D4Pro) which I have been using for over 15 years for Windows GUI apps. So yesterday I decided to download them and install on my new Toshiba Satellite Win10 laptop. I was pleasantly surprised, and I was able to convert, build and run some simple Delphi projects. But unfortunately I was unable to install the ComDrv32 serial port component I recently adopted for my legacy BTSA3 and Ortmaster projects, or the SerialNG component I had been using since about 2004. The SerialNG would not work on Win10. So I joined the Lazarus discussion forum, and found that someone had provided an open source TLazSerial component. I was able to install the TLazSerial component and build the demo GPS Simulator. I have a USB serial port designed in a custom data acquisition board, and when a Ctrl-T character is sent, it returns a stream of 240 unique character pairs, at 4800 characters per second, on a 57.6 kB connection. I was able to accomplish this with a TEST button and an OnClick handler. http://forum.lazarus.freepascal.org/index.php/topic,20481.120.html Here is the download page: http://www.freepascal.org/download.var Paul
[toc] | [next] | [standalone]
| From | "P E Schoen" <paul@pstech-inc.com> |
|---|---|
| Date | 2016-08-23 01:30 -0400 |
| Message-ID | <npgn2a$shu$1@dont-email.me> |
| In reply to | #725 |
Here is the download page for Lazarus: http://www.lazarus-ide.org/ Paul
[toc] | [prev] | [next] | [standalone]
| From | Hans-Peter Diettrich <DrDiettrich1@aol.com> |
|---|---|
| Date | 2016-08-23 11:14 +0200 |
| Message-ID | <e22jdpF2jopU1@mid.individual.net> |
| In reply to | #725 |
P E Schoen schrieb: > I have a USB > serial port designed in a custom data acquisition board, and when a > Ctrl-T character is sent, it returns a stream of 240 unique character > pairs, at 4800 characters per second, on a 57.6 kB connection. I was > able to accomplish this with a TEST button and an OnClick handler. Fine :-) Does your entire project now run, based on Lazarus? DoDi
[toc] | [prev] | [next] | [standalone]
| From | "P E Schoen" <paul@pstech-inc.com> |
|---|---|
| Date | 2016-08-23 18:21 -0400 |
| Message-ID | <npii9i$68s$1@dont-email.me> |
| In reply to | #727 |
"Hans-Peter Diettrich" wrote in message news:e22jdpF2jopU1@mid.individual.net... > P E Schoen schrieb: >> I have a USB serial port designed in a custom data acquisition board, >> and when a Ctrl-T character is sent, it returns a stream of 240 unique >> character pairs, at 4800 characters per second, on a 57.6 kB connection. >> I was able to accomplish this with a TEST button and an OnClick handler. > Fine :-) > Does your entire project now run, based on Lazarus? I have not tried that yet, and I probably won't, unless it becomes necessary. The BTSA and Ortmaster projects are now mature and stable, and won't need more than a few maintenance tweaks like the change of serial port component. The Ortmaster project is particularly complex due to database portions using BDE and QuickReports. What I probably should do is a rewrite pretty much from the ground up. Much of the code is questionable and inefficient due to my learning Delphi as I built and enhanced the project. The BTSA project may be simple enough to rewrite, and I need to make better use of object based programming practices. I do have some of the code in separate units, but some units use conditional compiles based on ORT or BTSA $defines. I plan to build a new project that will read a huge CSV text file (about 1.8 GB), and split it into more manageable file sizes that can be converted to spreadsheet format with Open Office. It has a maximum of 1048576 lines with an ODS file of 11.2 MB. This is a database of all songs in the ASCAP database. It was supplied in a 288 MB zipfile. Somehow I got interested in copyright issues and royalties and licenses for performing or playing copyrighted music in public or private venues. I think licenses and royalties mostly apply to professional musicians and DJs and for recording and selling music. I have recorded myself and others playing and singing music and have made YouTube videos of that. It's a tricky subject! Paul
[toc] | [prev] | [next] | [standalone]
| From | Marco van de Voort <marcov@toad.stack.nl> |
|---|---|
| Date | 2016-08-24 08:30 +0000 |
| Message-ID | <slrnnrqmpd.12h0.marcov@toad.stack.nl> |
| In reply to | #730 |
On 2016-08-23, P E Schoen <paul@pstech-inc.com> wrote: > I plan to build a new project that will read a huge CSV text file (about 1.8 > GB), and split it into more manageable file sizes that can be converted to > spreadsheet format with Open Office. It has a maximum of 1048576 lines with > an ODS file of 11.2 MB. This is a database of all songs in the ASCAP > database. It was supplied in a 288 MB zipfile. Using fpspreadsheet (in fpc/lazarus) you can churn out office files directly, without having an office installed. (and at least as important, decoupling your applications from Office version)
[toc] | [prev] | [next] | [standalone]
| From | Marco van de Voort <marcov@toad.stack.nl> |
|---|---|
| Date | 2016-08-23 12:00 +0000 |
| Message-ID | <slrnnroemu.249d.marcov@toad.stack.nl> |
| In reply to | #725 |
On 2016-08-23, P E Schoen <paul@pstech-inc.com> wrote: > Recently I discovered FreePascal and the Lazarus IDE. I was rather skeptical > about how useful it might be as a replacement for Borland Delphi (D4Pro) > which I have been using for over 15 years for Windows GUI apps. So yesterday > I decided to download them and install on my new Toshiba Satellite Win10 > laptop. > > I was pleasantly surprised, and I was able to convert, build and run some > simple Delphi projects. But unfortunately I was unable to install the > ComDrv32 serial port component I recently adopted for my legacy BTSA3 and > Ortmaster projects, or the SerialNG component I had been using since about > 2004. The SerialNG would not work on Win10. What actually went wrong with comdrv32 ?
[toc] | [prev] | [next] | [standalone]
| From | "P E Schoen" <paul@pstech-inc.com> |
|---|---|
| Date | 2016-08-23 17:40 -0400 |
| Message-ID | <npifrl$rdi$1@dont-email.me> |
| In reply to | #728 |
"Marco van de Voort" wrote in message news:slrnnroemu.249d.marcov@toad.stack.nl... > What actually went wrong with comdrv32 ? I don't remember all the problems, but the compilation ran into problems with undefined references in some of the source files in the package. It may have had something to do with misunderstanding how packages and components work, and how to convert from Delphi to Lazarus. I may try again, but the TLazSerial component seems to work well enough. Paul
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.pascal.delphi.misc
csiph-web