📄 delsec03.txt
字号:
Q: I'm thinking about buying Delphi. Where can I find more
information?
A: Download the files TI2767.ZIP and TI2768.ZIP from Library 2
of this forum.
Q: When I click on the 'Database Desktop' or the 'Database
Engine Configuration' icons, I get the error message
"multiple net files found". How do I resolve this?
A: Search your system for *.lck files and delete them.
Q: How do I enable the Version Control capabilities of Delphi?
A: Click on Help | Topic Search, enter in 'Version control'
and follow the instructions. This feature is only
available with the Client/Server edition.
Q: I'm getting the error message "Out of Memory" or "Out of
System Resources", but I have plenty of memory available!
What's going on?
A: Try changing video driver to the Windows standard (vanilla-
flavored) VGA driver. To change your video driver, click
on the Windows Setup icon, then choose Options | Change
System Settings. If the error message doesn't appear any
more, then the video driver you were using isn't behaving
properly. Contact the manufacturer of your video driver
to get the latest version. The reason for this strange behavior
is that The exception is raised when a call to Create a Window
returns an error code rather than a window handle.
Q: I already have Paradox for Windows and/or dBase for
Windows. Will Delphi's version of the Borland Database
Engine coexist with these products?
A: Yes, Delphi's newer version of the Borland Database Engine
(aka IDAPI) has been certified with Paradox for Windows and
dBase for Windows.
Always install Delphi's IDAPI and SQL Links over any
earlier versions on your system.
Q: I think I've found a bug in the product, how do I report
it?
A: Download TI1171.ZIP and follow the instructions.
Q: Where is the Language Reference Guide for Delphi?
A: The Language Reference Guide is available separately.
Call the Order Desk at 800-331-0877 for pricing
information.
Q: I'm running under Warp and I'm having problems getting
Acrobat to work. Any ideas?
A: Go to the Acrobat Win-OS/2 session settings and set the
Win ATM selection to 'ON'. You might also want to do the
same in the Win-OS/2 setup (in the system setup folder).
Q: I'm trying to start Delphi and I get the error message
"can't open c:\delphi\bin\complib.dcl". How do I fix this?
A: This error message can occur for many reasons: share or
vshare not loaded, using the wrong parameters for share
(should be F:4096 L:40). The IDAPI section of the WIN.INI
file is bad or missing. It should read something like:
[IDAPI]
CONFIGFIL01=C:\IDAPI\IDAPI.CFG
DLLPATH=C:\IDAPI
COMPLIB.DCL could be corrupted. Get a new copy from the CD
..\RUNIMAGE\DELPHI\BIN\COMPLIB.DCL
Assumiming all of the above is as it should be, compare these files
with the ones on the runimage:
C:\WINDOWS\SYSTEM\COMPOBJ.DLL 108,544
C:\WINDOWS\SYSTEM\OLE2.DLL 302,592
C:\WINDOWS\SYSTEM\STORAGE.DLL 157,696
C:\DELPHI\BIN\COMPLIB.DCL 1,058,784
If any of these are the wrong size, back them up, and copy over new ones
from the CD.
If all the above fails, it is possibe that the Windows install
is bad. Some possible things to check:
VER.DLL 9,008
USER.EXE 264,016
KRNL386.EXE 76,400
Q: Adobe Acrobat gives the message "Could not find Adobe Type
Manager" when I try to access the Delphi on-line manuals.
I am running under Win NT. How can I fix this problem?
A: Download version 2.1 of the Acrobat Reader. This new version
works under NT, and supports a wider range of printers as well.
You can find it in the Adobe Applications forum on Compuserve
(GO ADOBEAPP).
A current workaround to the problem is to add the line:
ATMOption=1
to the [Abode Viewer] section of ACROREAD.INI. Then
copy it to ACROEXCH.INI (both files should be in your
\winnt35 directory). If you do not have ACROEXCH.INI, then
copy acroread.ini and name it acroexch.ini. Fonts may still
show up incorrectly or poorly, but you will still be able to
run Acrobat.
Q: I'm writing an MDI application using Delphi. When I
minimize an MDI child, I get a GPF. Is this a known
problem?
A: Yes, this is a known problem which the patch fixed.
Download the patch (delpatch.zip), apply it, and then
rebuild the Library.
Q. Why do I get the message "To run the interactive tutors, you must
change the Delphi configuration slightly..." when I start the
interactive tutors?
A. This happens because you are not running with the default
settings of Delphi. Backup your current DELPHI.INI file in
the Windows directory and then copy DELPHI.CBT file to
DELPHI.INI. The tutors will now work correctly. When
finished with the tutors the old DELPHI.INI will need to be
restored.
Q. The interactive tutors don't appear to be working correctly.
How do I get them to work?
A. See previous answer.
Q: When I try to run the interactive tutors I get the message "Error
creating Process: Insufficient memory to run the interactive tutors."
How can I fix this?
A: The interactive tutors have a larger memory requirement than Delphi,
on the order of twice the amount. Check to make sure you have enough
memory to run the tutors. You can still run the tutorials without
12 or 16 megs, but make sure that you are running Windows in 386
Enhanced mode, and that you have a large enough swap file set. If
you think you have enough RAM, but are getting the error message, try
increasing your swap file anyway in the Virtual Memory option of the
386 Enhanced control panel. Windows may be trying to swap out things
to disk to accomodate the Delphi tutorial, and if the swap file is too
small, it may have trouble doing this. Finally, clean boot your
machine's Dos and Windows configuration, to make certain nothing
you have loaded in memory besides the bare minimum is hogging or
corrupting vital memory space necessary to run the tutors. Download
TI 1561 and TI 1283 from either Compuserve (TI1561.ZIP, TI1283.ZIP) or
TechFax (1-800-822-4269) for detailed instructions on how to "clean
boot" your machine.
Q. I managed to delete the Delphi group and icons, or I did a manual install.
How can I recreate it?
A. There is a program for creating the Delphi program group and associated icons.
The name of the file is DLPGRP.ZIP. It can be found in the "From Borland"
section of the "Borland Delphi" forum.
Q. What is W8LOSS.EXE used for?
A. W8LOSS.EXE is a command line tool that optimizes your exectuable for size
and load time. It is equivalent to choosing OPTIONS|PROJECT|LINKER and
turning on for 'optimize for size and load time.' Use this tool if
you are experiencing difficulty from using the option from within the
IDE.
Q. I did a manual install, what do I have to add to my WIN.INI and path
for Delphi to function correctly? (Assuming Installed to C:)
A. Add "C:\iblocal\bin;c:\delphi\bin" to the path in your autoexec.bat
Add the following lines to your WIN.INI
[IDAPI]
DLLPATH=C:\IDAPI
CONFIGFILE01=C:\IDAPI\IDAPI.CFG
[Borland Language Drivers]
LDPath=C:\IDAPI\LANGDRV
[BWCC]
BitmapLibrary=BWCC.DLL
[Interbase]
RootDirectory=C:\IBLOCAL
[Paradox Engine]
UserName=PxEngine
NetNamePath=C:\
MaxTables=64
RecBufs=64
MaxLocks=64
MaxFiles=64
SwapSize=64
[DDE Servers]
DBD=C:\DBD\DBD
[DBD]
WORKDIR=C:\DBD
PRIVDIR=C:\DBD\DBDPRIV
Q: I am running OS/2 Warp (no fixpak) and cannot run the default form
in Delphi without total system hangup. The mouse doesn't respond,
all escapes to OS/2 unavailable, ctrl-alt-delete ignored.
A: Try turning off your ROM-Shadowing in your computers BIOS.
Q: I get an error while trying to launch the Database Desktop, or
while trying to access a table. It says, "Could not initialize
IDAPI" followed by a particular IDAPI error message, and then
forces me to click "Ok", and quits. How can I fix this?
A: There are number of things you can check for that may be causing
this error:
First, make sure that the IDAPI paths in the [IDAPI] section
of your WIN.INI are set correctly. Go to your Windows directory
and look at your WIN.INI file. In particular, check that
the following two lines:
DLLPATH=C:\IDAPI
CONFIGFILE01=C:\IDAPI\IDAPI.CFG
are set to the correct paths. Often, if IDAPI was moved from
a network or to another drive, these paths were not updated to
reflect the change. Also, check the private directory setting
by double-clicking on the Database Desktop Local Configuration
icon. Sometimes the path accidentally gets set to a shared
directory or a network drive during the installation. The private
directory should be pointing to a non-shared directory on your local
drive (e.g.: C:\DBD\DBDPRIV). Also, check the other paths settings
within the Database Desktop Local Configuration to verify the paths
are correct.
If this still doesn't resolve the problem, check your Net Control
File Directory (NETDIR) setting for the Paradox driver by opening
the BDE Configuration Utility, and, if you are not attempting to
open a table on the network, try setting it to a place on your local
drive (e.g.: C:\). If it is pointing to a drive on the network,
or you wish to open a table out on the network, make sure that
the directory exists, and that you have read/write access to it.
In addition, everyone who has IDAPI installed on their machine and
has their NETDIR setting pointing to a directory on the network MUST
all have this NETDIR set to the SAME directory. Until you can
determine this, scan the entire network for *.net and *.lck files,
and delete them all. A pdoxusrs.net file will be recreated in the
directory you have the NETDIR set to. Then make sure everyone points
to this directory to prevent multiple net control files from being
created.
Lastly, you can backup the idapi.cfg file from your IDAPI directory,
and copy a fresh one over from the runimage off the CD rom. If you
had created aliases before backing up the idapi.cfg file, they will
need to be re-created if you copy over a new idapi.cfg. This can be
done easily using the merge function within the Alias section of the
BDE Configuration Utility. Refer to the Database Engine
Configuration Help for more information regarding merging.
In addition to the above, you should already have share loaded with
the correct parameters. Make sure you have the line:
C:\DOS\SHARE.EXE /F:4096 /L:40
somewhere in your autoexec.bat file.
Should you be running Delphi on a Novel Lantastic 6.0 network, there
is a known problem with the latest version of IDAPI that will not
allow you to use Paradox tables on the network (possibly giving you
this error). Borland is aware of this, and is currently working on
a fix for it. Meanwhile, as a possible temporary workaround, you
can try to switch your network driver down to an earlier version of
Lantastic, such as Lantastic 5.0. This has been known to work for
most users as a temporary solution until a fix is available.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -