--------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00059 Date: 05/13/96 From: FRANCOIS PIETTE Time: 06:54pm \/To: RYAN POTTS (Read 4 times) Subj: delphi 1.0 question Salut Ryan Potts ! Dans un message de Ryan Potts dat du 12 May 96 00:56:05 il tait dit: RP> Have developed some code in delphi 1.0. The resulting EXE RP> file runs fine on the machine I developed it on. But if I take the RP> same code to another windows machine that doesn't have delphi RP> installed I get the following error:An Error occured while attempting RP> to initialize the Borland Database Engine.What is needed on the RP> non-delphi machine(s) in order for my code to work? What specific RP> files? Your program use Borland Database Engine (known as BDE) to access some data tables. So you must install BDE on the target machine. You'll find on the CDROM in the runtime directory the BDE runtime wich you can copy on two floppies and install it on the client computer. If you use an SQL Database, you should also install Borland SQL Links you'll find also in the runtime directory. Amitis, {-Francois Piette-} --- SvFido 1.32 * Origin: OverByte BBS (Embourg-Belgium) 32-41-651395 V-FAST (2:293/2202) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00060 Date: 05/15/96 From: CHRIS MANN Time: 10:44am \/To: RYAN POTTS (Read 4 times) Subj: Powers and Logs On May 15 09:52 96, Ryan Potts of 1:157/110 wrote: 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? RP> Also pascal doesn't have a Log base 10 function either. Here are a RP> couple simple functions that I have written. RP> function log(number : real):real; RP> begin RP> log:=ln(number) / ln(10); RP> end; RP> function power( Man : Real; Pwr : Real ) : Real; RP> begin RP> Power := Exp( Ln( Man ) * Pwr ); RP> end; This has changed... Check the Math Unit (Delphi 2.0). Unit Math Declaration function Log10(X: Extended): Extended; Description The Log10 function returns the log base 10 of X. --- function Log2(X: Extended): Extended; Description The Log2 function returns the log base 2 of X. Declaration function Power(Base, Exponent: Extended): Extended; Description The Power function raises Base to any power. For example, BaseExponent. For fractional exponents or exponents greater than MaxInt, Base must be greater than 0. Chris --- Msgedsq 2.2e * Origin: Esc1.71 - When you're old enough to drive the bus. (1:157/534.30) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00061 Date: 05/14/96 From: RAY ZELMER Time: 02:34pm \/To: ALL (Read 4 times) Subj: DEMO EXPLORER Hi All, Demo Explorer is a good learning tool, once you get it installed. I am using the Desktop version of Delphi 2.0. I followed the Readdx.txt instructions carefully and Demo Explorer didn't work. I had 2 problems. I got help on Borland's BDelphi32 Compuserve forum. My first problem was I did not get a Help Menu choice of "Explore Sample Applications." Tim Gooch of Delphi Developer's Journal suggested: Create a new text file that contains: --------------------------------------------------------- REGEDIT HKEY_CURRENT_USER\Software\Borland\Delphi\2.0\Experts = C:\Program Files\Borland\Delphi 2.0\DemoExpl\DEMOEXPL.DLL --------------------------------------------------------- Save this file as DemoExpl.REG, locate the file, and double-click on it. Then launch Delphi and see if this performs the registration correctly. The second problem was, when I clicked the Help Menu choice I got an Error Dialog: This directory is read only: C:\Program Files\Borland\Delphi 2.0\DemoExpl\M2M.db. Windows Explorer | Properties said it is NOT read only: The second problem was solved by J. Brian Stockmar's suggestion: ----------------------------------------------------------------- For some reason the \info\borland\demoexpl directory on the Delphi 2.0 CD-ROM contains the original Paradox lock files (Paradox.lck and Pdoxusers.lck) which are copied to your hard disk when you follow the Readdx.txt instructions. These two files should be deleted from your new demoexpl directory before you restart Delphi and the Demo Explorer should work fine. ------------------------------------------------------------------ Cheers, Ray. --- RM 1.31 0810 * People say I'm apathetic, but I don't care... --- FLAME v1.1 * Origin: Tampa Bay Computer Society BBS (813) 733-8693 V.34/V.FC (1:3603/570) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00062 Date: 05/14/96 From: MIKE SCIROCCO Time: 04:22pm \/To: JOSEPH PRIBULICK (Read 4 times) Subj: DLL speed MS> Someone in this echo posted that true compiled code ran 10-20 times as MS> fast as VB p-code. I bought Microsoft Fortran 5.1 and wrote some DLL's MS> which are not only compiled, but optimized for speed and looping, and MS> they only ran 3 to 4 times as quickly as the p-code snail. There is MS> quite a difference between 3-4 and 10-20. Anyone out there who _knows_ MS> about this care to comment? JP> Were the DLL's running independently of your VB app, or were they JP> running as subroutines called from your VB app. If called subroutines, JP> then VB must still go through its interpreter for some things. JP> ... Are you using Windows, or is that just an XT? The DLL's were running as subroutines, called by the app. I wasn't aware that the interpreter still had to be consulted. That would definitely slow things down. The app runs under Windows 3.1. I like the joke about the XT, though, and yes, I agree, p-code is sluggish. :-} Mike --- Maximus 3.01 * Origin: Mountain Retreat (1:216/506) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00063 Date: 05/14/96 From: MIKE SCIROCCO Time: 04:29pm \/To: TOMMY USHER (Read 4 times) Subj: DLL speed TU> For what it is worth, there are conversion programs for going from VB to TU> Delphi. They start at about $80. If you happen to know the name of the $80.00 conversion program I'd be appreciative. I'm writing a program right now that I could easily adapt over for the speed savings. Thanks. MIke --- Maximus 3.01 * Origin: Mountain Retreat (1:216/506) --------------- FIDO MESSAGE AREA==> TOPIC: 269 DELPHI Ref: D5K00064 Date: 05/14/96 From: GARY WEINFURTHER Time: 09:04am \/To: KEITH RICHARDSON (Read 4 times) Subj: Highlighting text in a li Keith Richardson mentioned this to Frank Malcolm: KR> now, i just need to do the same thing in a tmemo. TMemo does not have owner draw capabilities, but you *can* override the Paint procedure and draw it any way you like. ...Gary --- GoldED 2.41 * Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)