--------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00049 Date: 05/10/96 From: DEREK BENNER Time: 01:38pm \/To: GARY RIMAR (Read 4 times) Subj: Pascal Books TU> Like I said, I think it was on the CD in version 1.0, though I could be TU> wrong. I do know that it is included with ALL versions of 2.0. GR> If it is on the CD for version 1.0, I can't find it. This doesn't GR> mean that it's not there, but it does mean that I can't find it. GR> If you have any crow to eat, I'd happily do so if you can tell me GR> pathname and filename where it is on the 1.0 CD-ROM. Gary, No need to warm up that crow-roaster! The CD-ROM for Delphi 1.00 did NOT come with the Acrobat file of the Object Pascal Language Guide!!! I was one of the first to commercially order the 1.00 version and it was NOT there, however, Borland DID post it and the VCL Reference Manual to their BBS, AND, they DID include both Acrobat files on their 1.1 upgrade CD-ROMs. However, as Steve Batson was commenting, it's much easier to use when you have it in printed form. Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00050 Date: 05/10/96 From: DEREK BENNER Time: 01:45pm \/To: MIKE SCIROCCO (Read 4 times) Subj: DLL speed MS> Someone in this echo posted that true compiled code ran 10-20 times MS> as fast as VB p-code. I bought Microsoft Fortran 5.1 and wrote some MS> DLL's which are not only compiled, but optimized for speed and MS> looping, and they only ran 3 to 4 times as quickly as the p-code MS> snail. There is quite a difference between 3-4 and 10-20. Anyone out MS> there who _knows_ about this care to comment? Mike, Did you let the compiler optimize for speed or did you actually drop down to assembler and write a series of tight assembly routines that perform the functions you need? Also, are you running this on a Pentium? If you let the compiler do the optimization and/or you are running on a Pentium system, you will NOT see all the speed you can get. For a really GOOD and CLEAR discussion of optimizing for 80x86 cpu's (including the Pentium) get the book by Michael Abrash, 'Zen of Code Optimization' by Coriolis Books Group, $30 US. In it he clearly demonstrates how and WHY most compilers fail to fully optimize the object code. Hope this helps. Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00051 Date: 05/10/96 From: DEREK BENNER Time: 01:49pm \/To: DAN UGRIN (Read 4 times) Subj: Just asking... DU> 3. To remove debug code and data and otherwise optimize the exe for DU> size, run w8loss.exe from the DOS prompt. example: DU> cd delphi\bin DU> w8loss c:\delphi\work\myprog.exe DU> Dan Dan, I think he can also go into the project (or is it environment) and uncheck a box that specifies if debug info is included, can't he?!? Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00052 Date: 05/10/96 From: BRYAN SMITH Time: 01:26am \/To: FRANK MALCOLM (Read 4 times) Subj: Run-time errors On 08 May 96 Frank Malcolm said to All... FM> Maybe I'm thick, but I'm damned if I can find *anywhere* the FM> description of the run time errors. Tonight I got an I/O Error 105 so FM> I went FM> searching through the help - even did a text search on the DELPHI.HLP FM> file - nothing! Where the f... is this info? You made a PASCAL error, so look in an old PASCAL manual ! You can also find it in the Object Pascal Reference Manual, the Acrobat version of which is available for download from Borland 408-431-5096, about 1 Meg. Or for what it's worth, here is a list of DOS/Pascal errors that I found buried in some old code. You can find still more in manuals like "Microsoft MS-DOS Programmer's Reference" - many of them relate to networks and print queues. But yes, Borland should do a better job. 1 Invalid function number 2 File not found 3 Path not found 4 Too many open files 5 File access denied 6 Invalid file handle 12 Invalid file access code 15 Invalid drive number 16 Cannot remove current directory 17 Cannot rename across drives 33 Attempted to read locked disk 100 Disk read error 101 Disk write error 102 File not assigned 103 File not open 104 File not open for input 105 File not open for output 106 Invalid numeric format 150 Disk is write-protected 151 Bad drive request struct length 152 Drive not ready 154 CRC error in data 156 Disk seek error 157 Unknown media type 158 Sector Not Found 159 Printer out of paper 160 Device write fault 161 Device read fault 162 Hardware failure 200 Division by zero 201 Range check error 202 Stack overflow error 203 Heap overflow error 204 Invalid pointer operation 205 Floating point overflow 206 Floating point underflow 207 Invalid floating point operation 208 Overlay manager not installed 209 Overlay file read error 210 Object not initialized 211 Call to abstract method 212 Stream registration error 213 Collection index out of range 214 Collection overflow error --- PPoint 2.00 * Origin: Kingston, Canada (1:249/109.11) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00053 Date: 04/28/96 From: JUSTIN MARQUEZ Time: 09:56pm \/To: CHRIS STONE (Read 4 times) Subj: screen "adjustability" JM> Is there a way to have the app to determine how to deal with JM> different screen resolutions in effect at run-time? CS> I use a little shareware component that I pulled off of CIS called CS> TSizer. Was only about $10 and works great. I develope in 800x600 mode CS> and when I run my apps in 640x480 or 1024x768 they still look as CS> designed. I have access to CIS. I browsed through the Delphi area and couldn't find it. Do you have the exact original filename on CIS so I can search for it? (Or... the contributor's name) Thanks, Justin Marquez Artichoke BBS, Houston, TX --- OPMED 3.20wb * Origin: The Home Point (1:106/100.1) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00054 Date: 05/15/96 From: JERRY JANKURA Time: 09:55pm \/To: ALL (Read 4 times) Subj: Delphi menu selection When using Delphi-16, how can you have the "on click" function attached to one menu item move the menu cursor up or down when it completes. Specifically, I'm writing a program to test some products. One of the main (top level) menu items drops a menu with the entries: Lamp 1 Lamp 2 Lamp 3 Lamp 4 Lamp 5 on it. When the user selects "Lamp 1", the system executes an "on click" function that tests the first lamp. When control returns to the menu, I'd like to have the "Lamp 2" entry highlighted. After the second lamp is tested, I'd like to have the "Lamp 3" entry highlighted, and so on. This required action tells me that the function that implements "Lamp 1" must send a message back to the menu indicating that a keystroke matching the "down arrow" was pressed, or that I'd have to set up short cuts for each of the entries, and then have one entry send a keystroke message specifying the shortcut for the next Lamp. Note that I specifically do NOT want to have the on-click code for Lamp 1 invoke the on-click code for Lamp 2, and so forth. Any ideas? Thanks in advance. --- * OLXWin 1.00b * from jerry.jankura@pcohio.com in Strongsville, Ohio, USA --- InterEcho 1.18 * Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00055 Date: 05/15/96 From: STEVE BATSON Time: 10:30am \/To: TOMMY USHER (Read 4 times) Subj: Pascal Books TU> I have used several of the "21 Day" books from Sam's. They have all TU> been pretty good, but this is above average. I had been kicking Thanks for the compliment. TU> aroundthe idea of trying Delphi for some time. I waited some, TU> because Ididn't want to buy 1.0, and then have 2.0 come right out, TU> and get stuck TU> paying almost as much again. I was seriously debating whether to go TU> forthe Desktop version (less up front investment, but lacking the VCL TU> source, and some highly useful OCXs) or the Developer version (an TU> extra$100 for a product I might not really like). The matter was TU> settledwhen my local Software, Etc. had the Desktop version at a TU> really goodprice. I plan to check with Borland about gettting at TU> least some of the TU> extra stuff (I have heard they offer it separately) or will simply TU> buythe full version (hopefully getting the $50 rebate) when I can. I TU> havebeen REALLY impressed with it. I think I may finally enjoy TU> Windowsprogramming. Yes, I agree, Delphi certainly makes Windows programing fun and productive. I really like being able to generate stand alone EXEs unlike other environments. Delphi exe's do run fast too. Great products. Steve --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00056 Date: 05/15/96 From: STEVE BATSON Time: 12:10pm \/To: PETER COLLIS (Read 4 times) Subj: Pascal Books GG> I'm using Virtual Pascal for OS/2, it also support the delphi GG> language extensions. Although the manual gives a definition of GG> the language I would like more information. So is there a way I GG> can get/buy that book PC> A Delphi for OS/2 now that's something that's needed, anyone know if PC> Borland has any plans to release such a thing, one can only hope. Pete, Given the limited number of OS/2 users compared to Windows users, my guess is that it wouldn't be profitable enough for Borland to create an OS/2 version of Delphi. Steve --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00057 Date: 05/15/96 From: DEREK BENNER Time: 05:17pm \/To: TOMMY USHER (Read 4 times) Subj: Pascal Books TU> Interesting. The local "B & N" (I assume you mean, Barnes & Noble?) TU> carries "Delphi Informant." I have bought two issues so far. I Which local "B & N"? If you mean the one at Arden Fair Mall in Sacramento, CA, I've NEVER seen an issue there, and I drop in during ALL the magazine issue dates! I DO see Paradox Informant out at the Tower Books stores, but not their sister magazine. And I won't be bullied into paying for a subscription that doesn't really save me any money over newsstand prices. Also, I'm picky about content-that's why I refuse to buy that VB rag that has all the fiction... Derek --- FreeMail 1.07b * Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 * (1:203/21) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00058 Date: 05/15/96 From: RYAN POTTS Time: 09:52am \/To: DEREK BENNER (Read 4 times) Subj: Powers and Logs Derek Benner wrote in a message to Justin Marquez: JM> If only DELPHI had a built-in operator which did what FORTRAN's JM> "**" operator does! It would make engineering and scientific DELPHI JM> programming easier and faster! JM> (pssst! Anyone listening at Borland?) DB> If I remember correctly the '**' operator raises the number DB> to the power of the second number, 2 to the 3rd power = DB> '2**3' and 10 to the 5th power equals '10**5', am I right? Also pascal doesn't have a Log base 10 function either. Here are a couple simple functions that I have written. function log(number : real):real; begin log:=ln(number) / ln(10); end; function power( Man : Real; Pwr : Real ) : Real; begin Power := Exp( Ln( Man ) * Pwr ); end; Use them in good health. Thanks, Ryan --- * Origin: Midnight Express, Fairlawn Ohio (1:157/110)