home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161b.iso / full / delphi / DELPHI16 / TECHINFO / DELPHI / FAQS / DELSEC03.FAQ < prev    next >
Encoding:
Text File  |  1995-08-24  |  34.2 KB  |  821 lines

  1. This document contains information that is most often provided
  2. to users of this section.  There is a listing of common
  3. Technical Information Documents that can be downloaded from the
  4. libraries, and a listing of the most frequently asked
  5. questions and their answers.
  6.  
  7. TI1171  Bug Report Form
  8. TI1736  Keeping BC++ 4.x and BP/TPW on the same system
  9. TI2841  Delphi Consultants and Training Centers
  10.  
  11. TDSVGA.ZIP  Newer DLL's for Turbo Debugger for Windows
  12.  
  13. VCLPATCH.ZIP   Patch for the Visual Component Library source.
  14. DELCSPAT.ZIP   Patch for Delphi Client Server.
  15. DELPATCH.ZIP   Patch for Delphi
  16.  
  17.  
  18. Q:  "When I click on the TDW icon my screen goes blank or is          
  19.     scrambled.  How do I fix this?"
  20.  
  21. A:  The Turbo Debugger video DLL you are using is probably
  22.     incompatible with your Windows graphics driver.  Download
  23.     TDSVGA.ZIP from library 2, and try either TDWGUI.DLL or 
  24.     TDSVGA.DLL.  Follow the instructions in the readme.
  25.  
  26.  
  27. Q:  "When I exit Turbo Debugger for Windows my machine hangs.
  28.     What's going on?"
  29.  
  30. A:  The Turbo Debugger video DLL you are using is probably
  31.     incompatible with your Windows graphics driver.  Download
  32.     TDSVGA.ZIP from library 2, and try either TDWGUI.DLL or 
  33.     TDSVGA.DLL.  Follow the instructions in the readme.
  34.  
  35.  
  36. Q:  "When I click on TDW, I get the error message 'Cannot 
  37.     load WINDEBUG.DLL'.  What should I do?"
  38.  
  39. A:  This error occurs when trying to use the debugger from 
  40.     TPW 1.0 with Windows 3.1.  TPW 1.0 was designed to be 
  41.     used with Windows 3.0.  There are two solutions to this 
  42.     problem.  The recommended solution is to upgrade to TPW 
  43.     1.5 or BP 7.0.  Call the order desk at (800) 331-0877 for 
  44.     pricing information.  The other solution is to reinstall 
  45.     Windows 3.0.
  46.  
  47.  
  48. Q:  "I just installed Borland C++ 4.x, and I have TPW 1.5 or 
  49.     BP 7.0.  Why am I having problems getting the Pascal 
  50.     Turbo Debugger for Windows to work correctly?"
  51.  
  52. A:  Download TI1736.ZIP.
  53.  
  54.  
  55. Q:  "My VBX will not load or it crashes Delphi when I try to 
  56.     load it.  What's wrong?"
  57.  
  58. A:  Most likely the VBX you are trying to use is a Visual Basic 
  59.     2.0 or 3.0 compatible VBX.  Delphi can only use VB 1.0 
  60.     compatible VBXs.
  61.  
  62.  
  63. Q:  "Since installing Delphi, a few VB apps I have are having 
  64.     problems.  What's going on?"
  65.  
  66. A:  From the INSTALL.TXT file located in ..\DELPHI directory:
  67.      __________________________________________________________ 
  68.      |   
  69.      |  2. BEFORE YOU RUN SETUP
  70.      |  -----------------------
  71.      |  .
  72.      |  .
  73.      |  .
  74.      |  o VBX controls - SETUP installs the following VBX files
  75.      |    into the \WINDOWS\SYSTEM directory that will 
  76.      |    overwrite any existing VBX files with the same name:
  77.      |          
  78.      |      GAUGE.VBX
  79.      |      SWITCH.VBX
  80.      |      PICT.VBX
  81.      |      CHART2FX.VBX
  82.      |          
  83.      |    Before running SETUP, check for filename collisions 
  84.      |    and backup your existing copies of these files.
  85.      |            
  86.      |  .
  87.      |  .
  88.      |  .
  89.      |  _______________________________________________________ 
  90.  
  91.     The original files that may have been overwritten could 
  92.     have been part of your VB application.  If this is the case 
  93.     do the following steps (we will use GAUGE.VBX as an 
  94.     example):
  95.  
  96.     1)  Go into Delphi and Remove the GAUGE.VBX from the 
  97.     Component Palette:
  98.       a) Select Options | Install Components from the menu.
  99.       b) Select(Highlight) the GAUGE from the Installed Units 
  100.      list.
  101.       c) Click on the REMOVE button (it will disappear from the 
  102.      list).
  103.       d) Click on the OK button.  Delphi will now re-compile 
  104.      the component library.
  105.       e) Exit Delphi.
  106.     
  107.     2)  From the File Manager Rename the GAUGE.VBX to something 
  108.     like BIGAUGE.VBX.
  109.     
  110.     3)  Go back into Delphi and Add the BIGAUGE.VBX to the 
  111.     Component Palette:
  112.       a) Select Options | Install Components from the menu.
  113.       b) Click on the VBX button.
  114.       c) Select the VBX you want (BIGAUGE.VBX in this case).
  115.       d) Click on the OK button in the Install VBX File Dialog 
  116.      Box. 
  117.       f) Click on the OK button in the Install Components 
  118.      Dialog Box.  Delphi will now re-compile the component 
  119.      library.
  120.     
  121.     4)  Copy the VBX (GAUGE.VBX) that your VB application uses 
  122.     to the \Windows\System directory.
  123.     
  124.     This should fix any conflicts.
  125.  
  126.  
  127. Q:  "After installing Delphi, every time I start NetCom's 
  128.     NetCruiser application (which is a VB app), it comes up 
  129.     with 'NETCRUZ An error has occurred in your application.  
  130.     If you choose ignore..'  What happened?"
  131.  
  132. A:  Delphi installed a "GAUGE.VBX" over the one from VB. The 
  133.     one that Delphi installed is incompatible with the VB 
  134.     version (See above Q&A).
  135.  
  136.  
  137. Q:  I'm trying to run the Delphi tutors, but it's really SLOW.  
  138.     What's going on?
  139.  
  140. A:  Two observations:
  141.  
  142.     1) Running the tutors doubles the memory requirements for 
  143.        running Delphi.
  144.  
  145.     2) The Tutors do a lot of background work to keep track of 
  146.        what the IDE is doing, and what you are doing to the 
  147.        IDE, to try to keep the class on topic.  This makes the 
  148.        Tutors' manipulation of Delphi much slower than if you 
  149.        were running Delphi by itself.
  150.  
  151.     If you don't need to create OLE client applications right 
  152.     away, you can remove the TOLEContainer component from 
  153.     Delphi's component library.  Not having to load OLE when 
  154.     Delphi starts up will cut Delphi's load time almost in 
  155.     half, and reduce memory use by about 1Mb.
  156.  
  157.     To remove the OLE component from Delphi's component 
  158.     library, go to Options | Install Components and remove the 
  159.     OLEREG unit from the left-hand listbox.  Click OK and the 
  160.     component library will be recompiled without OLE.
  161.  
  162.  
  163. Q:  When I click on the Delphi icon, I get the error message 
  164.     "COMPOBJ.DLL caused a GPF at 0003:2EED".
  165.  
  166. A:  COMPOBJ.DLL is part of the Windows OLE subsystem.  Double 
  167.     check your OLE installation.  It's not uncommon to discover 
  168.     that you have a partial OLE installation, or mixed versions 
  169.     of OLE modules, or a corrupted OLEREG.DAT file.  Delphi's 
  170.     TOLEContainer component requires/loads OLE, and Delphi's 
  171.     component library (COMPLIB.DCL), where TOLEComponent 
  172.     resides, is loaded when Delphi starts up.
  173.  
  174.     To check your OLE installaion, look in your WINDOWS\SYSTEM 
  175.     directory to see if you have these files with these 
  176.     time/date stamps:
  177.  
  178.     filename        date     time    version
  179.     ----------------------------------------
  180.     BOLE16D.DLL     02/15/95 8:00    1.00 *
  181.  
  182.     OLE2.DLL        09/4/94  8:07    2.02
  183.     OLE2.REG        09/4/94  8:07    2.02
  184.     OLE2CONV.DLL    09/4/94  8:07    2.10
  185.     OLE2DISP.DLL    09/4/94  8:07    2.02
  186.     OLE2NLS.DLL     09/4/94  8:07    2.02
  187.     OLE2PROX.DLL    09/4/94  8:07    2.02
  188.     STDOLE.TBL      09/4/94  8:07    1.10
  189.     COMPOBJ.DLL     10/3/94 13:16    2.02
  190.     STORAGE.DLL     09/4/94  8:07    2.02
  191.     TYPELIB.DLL     09/4/94  8:07    2.02
  192.  
  193.     * The only Borland DLL - all others are from Microsoft.
  194.  
  195.     The problem is with the different versions of OLE, Borland
  196.     distributes Microsoft's OLE v2.02, Windows 3.1 installs OLE
  197.     v2.0. The only exception from the list above is BOLE16D.DLL
  198.     which is Borland's.
  199.  
  200.     If you are unsuccessful at finding or correcting your OLE 
  201.     configuration problem then you can rebuild the Delphi 
  202.     component library without the TOLEContainer. This will 
  203.     allow you to use Delphi (without OLE support) until you can 
  204.     get OLE straighted out.  Not having to load OLE when Delphi 
  205.     starts up will cut Delphi's load time almost in half, and 
  206.     reduce memory use by about 1Mb.
  207.  
  208.     To rebuild the Delphi component library without the 
  209.     TOLEContainer, first make sure you've exited Delphi.  Then
  210.     go to your Windows\system directory and edit DELPHI.INI.
  211.     Look for the line that reads:
  212.       ComponentLibrary=C:\DELPHI\BIN\COMPLIB.DCL
  213.     and change it to read:
  214.       ComponentLibrary=
  215.  
  216.     Save and Exit from the DELPHI.INI file.  Start up Delphi.
  217.     Delphi will give you an error message saying that it 
  218.     couldn't load the component library.  Just click OK.  
  219.     Choose Options | Install Components and type in a new 
  220.     filename under Library filename (such as 
  221.     c:\delphi\bin\newlib.dcl).  Click on the Add button, click 
  222.     on the Browse button.  Change to the Delphi\lib directory.  
  223.     Choose STDREG.DCU and click on the OK button.  Repeat (from 
  224.     clicking on the Add button) and add the following *.DCU 
  225.     files:  VBXREG, STDREG, DBREG, SYSREG, DDEREG, SWITCH, 
  226.     GAUGE, PICT, CHART2FX, SAMPREG, and LIBEXPT.  Now click on 
  227.     the OK button and the library will compile and load for 
  228.     you.
  229.  
  230.  
  231. Q:  I am trying to run Delphi under OS/2 Warp (for Windows) 
  232.     with the fixpak installed. I am experiencing a GPF in 
  233.     TOOLHELP.DLL at 0001:0626 whenever I try to close any 
  234.     generated application.  Any of the example programs 
  235.     demonstrate this.  From then on, I can't exit Delphi. I get 
  236.     three msg boxes: 1) Debug process running...; 
  237.     2) Terminating an app the usual way is better...; and 
  238.     3) Unable to kill the process. I get the same three dlg's 
  239.     if I try to exit Delphi. I have to kill it from the window 
  240.     list. Has anybody seen this error under Warp?
  241.  
  242. A:  This only occurs under Warp when the fixpak has been 
  243.     installed.  Try restoring Warp without the fixpak.  You can
  244.     remove the fixpak altogether, or you can try the following:
  245.  
  246.     The fixpack asked for an archive directory before it 
  247.     updated the system. Several packed files are stored there. 
  248.     You simply execute the unpack command on them and you're 
  249.     ready to go. Just execute "unpack users.sc_" etc. and make 
  250.     sure they are in the right directory.
  251.  
  252.     USERS.SCR and WINSMSG.DLL belong in your windows system 
  253.     directory. WINOS2.COM belongs in the windows directory 
  254.     (Parent of System).
  255.  
  256. Disclaimer: This fix has not been approved by IBM.
  257.  
  258. Q:  I am trying to run Delphi under OS/2 2.1X and am experiencing
  259.     the same problems as in the previous question.
  260.  
  261. A:  Delphi has only been extensivly tested under Warp, and does
  262.     not work correclty under this version of OS/2    
  263.  
  264.  
  265. Q:  Do you have any useful IDE navigation tips?
  266.  
  267. A:  If you have a form open, F12 puts you in the editor in that 
  268.     form's code.  F12 in the editor takes you to the form 
  269.     corresponding to the active page of code.  So the editor 
  270.     can serve as a navigation aid for getting between forms.
  271.  
  272.  
  273. Q:  How do I deploy my application on other machines?
  274.  
  275. A:  Read DEPLOY.TXT (located in the Delphi directory) for 
  276.     instructions.
  277.  
  278.  
  279. Q:  When I move my application to another machine, I get the 
  280.     error "error initializing IDAPI $2108" or something 
  281.     similar.  What's going on?
  282.  
  283. A:  If your application is a database application, then you 
  284.     need to install IDAPI on any machine where you run that 
  285.     application.  See DEPLOY.TXT (located in the Delphi 
  286.     directory) for instructions.  If IDAPI is already installed make 
  287.     sure that the path to the IDAPI directory is in the DOS PATH 
  288.     statement and also that there is an [IDAPI] section in the
  289.     Windows WIN.INI file with correct path information. 
  290.  
  291.  
  292. Q:  Is there a list of Delphi books?
  293.  
  294. A:  Yes.  Download TI2776.ZIP from Library 2 of the Compuserve Delphi
  295.     forum, or through TechFax at 1-800-822-4269.
  296.  
  297.  
  298. Q:  I'm thinking about buying Delphi.  Where can I find more 
  299.     information?
  300.  
  301. A:  Download the files TI2767.ZIP and TI2768.ZIP from Library 2 
  302.     of this forum.
  303.  
  304.  
  305. Q:  When I click on the 'Database Desktop' or the 'Database 
  306.     Engine Configuration' icons, I get the error message 
  307.     "multiple net files found".  How do I resolve this?
  308.  
  309. A:  Search your system for *.lck files and delete them.
  310.  
  311.  
  312. Q:  How do I enable the Version Control capabilities of Delphi?
  313.  
  314. A:  Click on Help | Topic Search, enter in 'Version control'
  315.     and follow the instructions.  This feature is only 
  316.     available with the Client/Server edition.
  317.  
  318.  
  319. Q:  I'm getting the error message "Out of Memory" or "Out of
  320.     System Resources", but I have plenty of memory available!  
  321.     What's going on?
  322.  
  323. A:  Try changing video driver to the Windows standard (vanilla-
  324.     flavored) VGA driver.  To change your video driver, click 
  325.     on the Windows Setup icon, then choose Options | Change
  326.     System Settings.  If the error message doesn't appear any 
  327.     more, then the video driver you were using isn't behaving 
  328.     properly.  Contact the manufacturer of your video driver
  329.     to get the latest version.  The reason for this strange behavior
  330.     is that The exception is raised when a call to Create a Window 
  331.     returns an error code rather than a window handle.
  332.  
  333.  
  334. Q:  I already have Paradox for Windows and/or dBase for 
  335.     Windows.  Will Delphi's version of the Borland Database 
  336.     Engine coexist with these products?
  337.  
  338. A:  Yes, Delphi's newer version of the Borland Database Engine 
  339.     (aka IDAPI) has been certified with Paradox for Windows and 
  340.     dBase for Windows.
  341.  
  342.     Always install Delphi's IDAPI and SQL Links over any 
  343.     earlier versions on your system.
  344.  
  345.  
  346. Q:  I think I've found a bug in the product, how do I report 
  347.     it?
  348.  
  349. A:  Download TI1171.ZIP and follow the instructions.
  350.  
  351.  
  352. Q:  Where is the Language Reference Guide for Delphi?
  353.  
  354. A:  The Language Reference Guide is available separately.  
  355.     Call the Order Desk at 800-331-0877 for pricing 
  356.     information.
  357.  
  358.  
  359. Q:  I'm running under Warp and I'm having problems getting
  360.     Acrobat to work.  Any ideas?
  361.  
  362. A:  Go to the Acrobat Win-OS/2 session settings and set the 
  363.     Win ATM selection to 'ON'.  You might also want to do the 
  364.     same in the Win-OS/2 setup (in the system setup folder).
  365.  
  366.  
  367. Q:  I'm trying to start Delphi and I get the error message 
  368.     "can't open c:\delphi\bin\complib.dcl".  How do I fix this?
  369.  
  370. A:  This error message can occur for many reasons:  share or 
  371.     vshare not loaded, using the wrong parameters for share 
  372.     (should be F:4096 L:40).  The IDAPI section of the WIN.INI
  373.     file is bad or missing.  It should read something like:
  374.     
  375.     [IDAPI]
  376.     CONFIGFIL01=C:\IDAPI\IDAPI.CFG
  377.     DLLPATH=C:\IDAPI
  378.  
  379.     COMPLIB.DCL could be corrupted.  Get a new copy from the CD
  380.     ..\RUNIMAGE\DELPHI\BIN\COMPLIB.DCL
  381.  
  382.     If all the above fails, it is possibe that the Windows install
  383.     is bad.  Some possible things to check:
  384.  
  385.     VER.DLL     9,008
  386.     USER.EXE    264,016
  387.     KRNL386.EXE 76,400
  388.  
  389.  
  390. Q:  Adobe Acrobat gives the message "Could not find Adobe Type 
  391.     Manager" when I try to access the Delphi on-line manuals.  
  392.     I am running under Win NT.  How can I fix this problem?
  393.  
  394. A:  Adobe Type Manager will not run under NT.  Adobe is aware
  395.     of the situation.  Rumor has it that Adobe is working on
  396.     a version of ATM that will run under NT - possibly in the
  397.     September or October time frame.
  398.     
  399.     There is a workaround that a user recommended.  It is in
  400.     no way sanctioned by Adobe, and Borland will take no responsibilty
  401.     to any unforseen adverse affects that it might generate.
  402.  
  403.     FIX as follows:
  404.     Add the following to your ACROREAD.INI
  405.  
  406.     [AdobeViewer]
  407.     AtmOption=1
  408.  
  409.     Copy ACROREAD.INI to ACROEXCH.INI
  410.     You will be able to use the Acrobat book reader, minus some fonts.
  411.  
  412.  
  413. Q:  I'm writing an MDI application using Delphi.  When I
  414.     minimize an MDI child, I get a GPF.  Is this a known 
  415.     problem?
  416.  
  417. A:  Yes, this is a known problem which the patch fixed. 
  418.     Download the patch (delpatch.zip), apply it, and then 
  419.     rebuild the Library.
  420.  
  421.  
  422. Q.  Why do I get the message "To run the interactive tutors, you must
  423.     change the Delphi configuration slightly..." when I start the
  424.     interactive tutors?
  425.  
  426. A.  This happens because you are not running with the default
  427.     settings of Delphi.  Backup your current DELPHI.INI file in
  428.     the Windows directory and then copy DELPHI.CBT file to 
  429.     DELPHI.INI.  The tutors will now work correctly.  When
  430.     finished with the tutors the old DELPHI.INI will need to be 
  431.     restored.
  432.  
  433.  
  434. Q.  The interactive tutors don't appear to be working correctly.
  435.     How do I get them to work?
  436.  
  437. A.  See previous answer.
  438.  
  439.  
  440. Q:  When I try to run the interactive tutors I get the message "Error
  441.     creating Process: Insufficient memory to run the interactive tutors."
  442.     How can I fix this?
  443.  
  444. A:  The interactive tutors have a larger memory requirement than Delphi,
  445.     on the order of twice the amount.  Check to make sure you have enough
  446.     memory to run the tutors.  You can still run the tutorials without
  447.     12 or 16 megs, but make sure that you are running Windows in 386
  448.     Enhanced mode, and that you have a large enough swap file set.  If
  449.     you think you have enough RAM, but are getting the error message, try
  450.     increasing your swap file anyway in the Virtual Memory option of the
  451.     386 Enhanced control panel.  Windows may be trying to swap out things
  452.     to disk to accomodate the Delphi tutorial, and if the swap file is too
  453.     small, it may have trouble doing this.  Finally, clean boot your
  454.     machine's Dos and Windows configuration, to make certain nothing
  455.     you have loaded in memory besides the bare minimum is hogging or
  456.     corrupting vital memory space necessary to run the tutors.  Download
  457.     TI 1561 and TI 1283 from either Compuserve (TI1561.ZIP, TI1283.ZIP) or
  458.     TechFax (1-800-822-4269) for detailed instructions on how to "clean
  459.     boot" your machine.
  460.  
  461.  
  462. Q.   I managed to delete the Delphi group and icons, or I did a manual install.
  463.      How can I recreate it?
  464.  
  465. A.   There is a program for creating the Delphi program group and associated icons.
  466.      The name of the file is  DLPGRP.ZIP.  It can be found in the "From Borland" 
  467.      section of the "Borland Delphi" forum.
  468.  
  469.  
  470. Q.   What is W8LOSS.EXE used for?
  471.  
  472. A.   W8LOSS.EXE is a command line tool that optimizes your exectuable for size
  473.      and load time. It is equivalent to choosing OPTIONS|PROJECT|LINKER and
  474.      turning on for 'optimize for size and load time.'  Use this tool if
  475.      you are experiencing difficulty from using the option from within the
  476.      IDE.
  477.  
  478.  
  479. Q.   I did a manual install, what do I have to add to my WIN.INI and path
  480.      for Delphi to function correctly? (Assuming Installed to C:)
  481.  
  482. A.   Add "C:\iblocal\bin;c:\delphi\bin" to the path in your autoexec.bat   
  483.      Add the following lines to your WIN.INI   
  484.     
  485.     [IDAPI]
  486.     DLLPATH=C:\IDAPI
  487.     CONFIGFILE01=C:\IDAPI\IDAPI.CFG
  488.  
  489.     [Borland Language Drivers]
  490.     LDPath=C:\IDAPI\LANGDRV
  491.  
  492.     [BWCC]
  493.     BitmapLibrary=BWCC.DLL
  494.  
  495.     [Interbase]
  496.     RootDirectory=C:\IBLOCAL
  497.  
  498.     [Paradox Engine]
  499.     UserName=PxEngine
  500.     NetNamePath=C:\
  501.     MaxTables=64
  502.     RecBufs=64
  503.     MaxLocks=64
  504.     MaxFiles=64
  505.     SwapSize=64
  506.  
  507.     [DDE Servers]
  508.     DBD=C:\DBD\DBD
  509.  
  510.     [DBD]
  511.     WORKDIR=C:\DBD
  512.     PRIVDIR=C:\DBD\DBDPRIV
  513.  
  514.  
  515. Q:   I am running OS/2 Warp (no fixpak) and cannot run the default form 
  516.      in Delphi without total system hangup.  The mouse doesn't respond, 
  517.      all escapes to OS/2 unavailable, ctrl-alt-delete ignored. 
  518.  
  519. A:   Try turning off your ROM-Shadowing in your computers BIOS.
  520.  
  521.  
  522.  
  523. Q:      I get an error while trying to launch the Database Desktop, or
  524.     while trying to access a table.  It says, "Could not initialize
  525.     IDAPI" followed by a particular IDAPI error message, and then
  526.     forces me to click "Ok", and quits.  How can I fix this?
  527.  
  528. A:      There are number of things you can check for that may be causing
  529.     this error:
  530.  
  531.     First, make sure that the IDAPI paths in the [IDAPI] section
  532.     of your WIN.INI are set correctly.  Go to your Windows directory
  533.     and look at your WIN.INI file.  In particular, check that
  534.     the following two lines:
  535.         DLLPATH=C:\IDAPI
  536.         CONFIGFILE01=C:\IDAPI\IDAPI.CFG
  537.     are set to the correct paths.  Often,  if IDAPI was moved from
  538.     a network or to another drive, these paths were not updated to
  539.     reflect the change.  Also, check the private directory setting
  540.     by double-clicking on  the Database Desktop Local Configuration
  541.     icon.  Sometimes the path accidentally gets set to a shared
  542.     directory or a network drive during the installation.  The private
  543.     directory should be pointing to a non-shared directory on your local
  544.     drive (e.g.:  C:\DBD\DBDPRIV).  Also, check the other paths settings
  545.     within the Database Desktop Local Configuration to verify the paths
  546.     are correct.  
  547.  
  548.     If this still doesn't resolve the problem, check your Net Control
  549.     File Directory (NETDIR) setting for the Paradox driver by opening
  550.     the BDE Configuration Utility, and, if you are not attempting to 
  551.     open a table on the network, try setting it to a place on your local
  552.     drive (e.g.: C:\).  If it is pointing to a drive on the network, 
  553.     or you wish to open a table out on the network, make sure that  
  554.     the directory exists, and that you have read/write access to it.
  555.     In addition, everyone who has IDAPI installed on their machine and
  556.     has their NETDIR setting pointing to a directory on the network MUST
  557.     all have this NETDIR set to the SAME directory.  Until you can 
  558.     determine this, scan the entire network for *.net and *.lck files,
  559.     and delete them all.  A pdoxusrs.net file will be recreated in the
  560.     directory you have the NETDIR set to.  Then make sure everyone points
  561.     to this directory to prevent multiple net control files from being
  562.     created. 
  563.  
  564.     Lastly, you can backup the idapi.cfg file from your IDAPI directory,
  565.     and copy a fresh one over from the runimage off the CD rom.  If you
  566.     had created aliases before backing up the idapi.cfg file, they will
  567.     need to be re-created if you copy over a new idapi.cfg.  This can be
  568.     done easily using the merge function within the Alias section of the
  569.     BDE Configuration Utility.  Refer to the Database Engine
  570.     Configuration Help for more information regarding merging.
  571.  
  572.     In addition to the above, you should already have share loaded with 
  573.     the correct parameters.  Make sure you have the line:
  574.         C:\DOS\SHARE.EXE /F:4096 /L:40
  575.     somewhere in your autoexec.bat file.
  576.  
  577.     Should you be running Delphi on a Novel Lantastic 6.0 network, there
  578.     is a known problem with the latest version of IDAPI that will not
  579.     allow you to use Paradox tables on the network (possibly giving you
  580.     this error).  Borland is aware of this, and is currently working on
  581.     a fix for it.  Meanwhile, as a possible temporary workaround, you
  582.     can try to switch your network driver down to an earlier version of
  583.     Lantastic, such as Lantastic 5.0.  This has been known to work for
  584.     most users.
  585.  
  586.     Finally, if you are still unable to get passed this error, you may
  587.     wish to consult two Technical Information documents Borland has
  588.     available:  TI 2733 and TI 2734.  These documents contain solutions
  589.     to specific IDAPI error messages (e.g. "not initialized for
  590.     accessing network files", or "call to undefined dynalink", or
  591.     "directory is busy") and so go into greater depth in addressing
  592.     IDAPI problems.  The TI's can be obtained either through TechFax
  593.     (800-822-4269), Compuserve (GO DELPHI), ftp (ftp.borland.com), or
  594.     the BBS (408-431-5096) as 'ti2733.zip' and 'ti2734.zip'.
  595.     
  596.  
  597. Q:      When I try printing my source files from within Delphi,
  598.     using File | Print, the output doesn't look right.  It's
  599.     printing junk characters, or is printing some of the
  600.     output right, but not all of it.
  601.  
  602. A:      Delphi just uses the standard Windows print function calls to 
  603.     print the source files.  Try opening up the .pas file in Notepad,
  604.     and printing from there.  If it's still not printing properly, then 
  605.     you need to find an updated printer driver that is fully compatible
  606.     with your particular printer.  Contact your printer manufacturer to 
  607.     get an updated printer driver.  If it prints fine from Notepad, try
  608.     changing Delphi's editor font by going to the Options | Environment
  609.     menu item within Delphi, selecting the Editor Display tab, and 
  610.     clicking on the down arrow button of the Editor Font box to get a 
  611.     selection of the alternative fonts you can try.  Try all of the
  612.     different fonts.  Also, try turning off syntax highlighting by
  613.     selecting the Editor Options tab and making sure the Syntax
  614.     Highlighting option is not checked.  If none of these worked, your 
  615.     best bet is to try another printer driver.  Delphi uses some of the
  616.     latest TrueType technology, and your current printer driver might need 
  617.     to be updated to support the latest TrueType capabilities.  So, even 
  618.     if it printed fine from Notepad, it may still require an updated 
  619.     driver in order to handle the fonts shipped with Delphi.  Contact 
  620.     your printer manufacturer for obtaining another driver.
  621.  
  622.  
  623. Q:      I had Quattro Pro running on a network, and after I installed 
  624.     Delphi and overwrote the IDAPI that was on the network, none of
  625.     the users can run Quattro Pro anymore.  They get a "Cannot load
  626.     language driver" error.  How can I fix this?
  627.  
  628. A:      The version of IDAPI that comes with Delphi is compatible with 
  629.     Quattro Pro, with only slight modification.  For each client that
  630.     will be accessing IDAPI on the network, be sure the following
  631.     section is added to their win.ini file:
  632.  
  633.     [Borland Language Drivers]
  634.     LDPath=F:\IDAPI\LANGDRV
  635.  
  636.     where F: should be replaced by the network drive letter that 
  637.     is housing IDAPI, and \IDAPI\LANGDRV should contain any necessary 
  638.     path changes to reflect the correct path.  Users should now be able 
  639.     to now use Quattro Pro with the new IDAPI that came with Delphi.
  640.  
  641.  
  642. Q.      The Install program for Delphi will not start.  
  643.     I am receiving the error:
  644.     "Cannot execute INSTALL.EXE or one of it's components."
  645.  
  646. A.      This error is generated when the install program can not unpack some
  647.     of the files integral to launching itself.
  648.     There are a few things that can be tried in case this happens.
  649.         First and foremost, one must always clean boot to make
  650.     sure that the problem isn't as simple as a memory conflict with
  651.     another program.  If this fails, check to be sure that TEMP is 
  652.     pointing to a valid location, that has enough space to unpack files.
  653.     (about 10-15 megs.)  Remember, Delphi will install a slew of DLL's to
  654.     the WINDOWS\SYSTEM directory, so it is important that the drive that
  655.     Windows is on has at least 10 megs free.
  656.         If this fails to cure the problem, try a hard drive install.
  657.     This entails copying the diskettes to a temporary directory
  658.     on the hard drive, and running the install from there.
  659.         Jump starting the install program will be the next line 
  660.     of defense.
  661.     Copy INSTXTRA.PAK, INSTRUN.EX_, BAMGR16.DL_, and INSTALL.INI to
  662.     a temporary directory.
  663.     Expand the *.??_ files by running EXPAND.EXE.
  664.     Run INSTRUN.EXE with INSTALL.INI as a parameter.
  665.         A Manual install would be the last line of defense.
  666.     This is only a viable option if you have the CD.  It requires
  667.     copying the runimage onto your hard drive, and manually creating
  668.     the program groups, and manually massaging the
  669.     appropriate INI files.(See previous QA)
  670.  
  671.  
  672.  
  673. Q:      I have just installed Delphi, and when I double-click on the Delphi
  674.     icon, the program begins to load, but then it flashes a message
  675.     box on the screen for a second and then quits back out to Program
  676.     Manager before ever loading Delphi completely.  Or, the splash screen
  677.     will appear, but then Delphi will just shut down (without any error
  678.     messages or warnings).  Any ideas what's wrong?
  679.  
  680. A:      Try switching your video driver down to standard VGA by going to
  681.     the Windows Setup utility (in the Main group).  If this fixes it,
  682.     you will need to get an updated video driver from your video card
  683.     manufacturer (most manufacturers have updated video drivers for
  684.     Delphi now).  If this doesn't work, try deleting delphi.ini from
  685.     your Windows directory and then restaring Delphi (delphi.ini will
  686.     get recreated).  If this still doesn't resolve the problem, try
  687.     backing up C:\DELPHI\BIN\DELPHI.EXE, and copying a fresh DELPHI.EXE
  688.     from the CD rom (\RUNIMAGE\DELPHI\BIN\DELPHI.EXE), in case the
  689.     executable has become corrupted.  If this doesn't do it, then the
  690.     problem stems from a conflict with your particular system
  691.     configuration.  To resolve the problem you will need to make sure
  692.     your system is running on an absolutely "clean", or minimal,
  693.     configuration.  Download Technical Information Document 1561 and
  694.     1283 from TechFax (call 1-800-822-4269) for step-by-step information
  695.     on how to do a DOS and Windows clean boot.
  696.  
  697.  
  698. Q:      I am trying to install a vbx or component into the Component Library,
  699.     using the Options | Install Components... menu item. After I add the
  700.     component and I hit 'Ok' in the Install Components dialog box,
  701.     the dialog box closes, and the component library begins to rebuild
  702.     itself (as it should).  But, when I go to the component palette to
  703.     look for the new component, it isn't there!  The installation of
  704.     the component didn't report any errors.  What did I do wrong?
  705.  
  706. A:      Close Delphi, and check the attributes of complib*.*, using File
  707.     Manager, or the DOS 'attrib' command.  Sometimes, the files
  708.     complib.dcl and complib.~dc become marked as read-only.  Make sure
  709.     the are NOT set to read-only.  If complib.dcl is marked as read-only,
  710.     then the component library will be unable to save any changes you
  711.     make to it, such as installing or removing a component. A less
  712.     obvious but similar situation will arise if the file complib.~dc
  713.     is also marked as read-only.  This file is the backup file for
  714.     complib.dcl.  When the component library goes to rebuild itself,
  715.     it backs up the current version of the library, complib.dcl, to the
  716.     file complib.~dc.  But, if this file is marked read-only, complib.dcl
  717.     cannot be backed up, and if complib.dcl cannot be backed up, the
  718.     component library will not attempt to modify itself.
  719.     Be sure that both complib.dcl and complib.~dc do not have their
  720.     read-only attributes set.
  721.  
  722.  
  723. Q:      I am trying to install a new component or vbx to my component
  724.     library, and after selecting the component or vbx in the Options |
  725.     Install Components dialog box, I hit "OK" to return back to Delphi,
  726.     and I get the error message "File not found [filename.dcu]" when
  727.     it tries to rebuild the component library.  The file is on my
  728.     hard drive, and the 'Search Path' edit box inside the Install
  729.     Components dialog box has the correct path.  Why is it that Delphi
  730.     can see the component when I Add it, but not when it tries to
  731.     rebuild the component library?
  732.  
  733. A:      Try checking the length of the search path in the edit box within
  734.     the Install Components dialog box.  This phenomenon could be
  735.     explained if the search path is too long; Delphi will only take
  736.     the first 127 characters of the path. So, if your search path is
  737.     greater than 127 characters, and the component you added appended
  738.     its location to the end of the search path, it effectively will
  739.     not be part of the search path, and when the component library
  740.     tries to rebuild itself, it will not be able to find your newly
  741.     added component.  Try moving the path containing the component to
  742.     the front of the search path, and see if that works.  If it does,
  743.     you will need to shorten your path, perhaps by renaming directories
  744.     to shorter names, or moving subdirectories up one level in your
  745.     directory hierarchy.
  746.  
  747.  
  748. Q:      I am installing from the CD, and I am getting file corruption
  749.     errors.  Is there something wrong with the CD?
  750.  
  751. A:      It is virtually impossible that the CD is actually corrupt.  This
  752.     error usually stems from corruption of the file occuring when it
  753.     is being copied.  It is most often on faster computers (DX4's and
  754.     P5's mainly) with faster hard drives.
  755.        Try slowing down the computer.  This is most easily accomplished
  756.     with the turbo switch (Didn't you always wonder what those things were
  757.     for?) If your computer doesn't have a turbo switch, try disabling your
  758.     video Rom shadowing, disabling Smartdrive, turning off Windows 
  759.     caching, or a combination of all of the above.
  760.        If you still are having problems, copy the install directories
  761.     off of the CD (with the computer slowed) and try doing a hard drive
  762.     install.
  763. ___________________________Added by Zoya 8/4/95 _____________________________
  764.  
  765. Q:      I am installing Delphi and I get an error message: "No ExtVer Method"
  766.     in the file ODBCDRV.PAK ..\install\disk3. Where is the method?
  767.  
  768. A:      This is a konwn bug. There are, however, some options to try:
  769.     1. Clean boot.(TI 1561)
  770.     2. Disk install. Copy an INSTALL subdirectory from the Delphi CD to 
  771.        the temporary directory on the hard drive and run SETUP.EXE from 
  772.        there.
  773.     3. Try to run Delphi from the CD ROM (ti 2777) and if it works, copy 
  774.        the Runimage directory to the hard drive.
  775.     
  776.     Apparently this error can be circumvented  if you install without DBD 
  777.     and/or Local Interbase.
  778. ------------------------------------------------------------------------------
  779.  
  780. Q:      I want to apply to be a Beta tester for the 32-bit version of Delphi. 
  781.     Where I can get more information?
  782.  
  783. A:      You need to call us at Borland, (408)431-1000, and ask for the
  784.     Developer Relations program.
  785.  
  786. --------------------------------------------------------------------------------
  787.  
  788. Q:      I ran the BDE installation program to deploy my application, and now I 
  789.     am getting an  error message: "Could not find language driver". What 
  790.     is wrong?
  791.  
  792. A:      The install program will not unpack the Language driver sudirectory 
  793.     if you install BDE to a network drive.  You will have to manually
  794.     unpack LANGDRV.PAK file into separate subdirectory.
  795.  
  796. ______________________________________________________________________________
  797.  
  798.  
  799. Q:      My FormExpert does not run, or does not appear. What do I need to do?
  800.  
  801. A:      1. Make sure that [Experts] section in delphi.ini has 
  802.        FormExpert=Mydrive:\delphi\bin\exptdemo.dll
  803.     2. Close Delphi, backup DELPHI.INI, delete DELPHI.INI, start Delphi 
  804.        and FormExpert again.
  805.     3. Backup EXPTDEMO.DLL, and copy a new one off the Delphi CD ROM 
  806.        from the Runimage subdirectory.
  807. --------------------------------------------------------------------------------
  808.  
  809. Q. Why do I get the message 'Unable to load RPTSMITH.EXE' when I
  810.    double click on the TReport component on the form?  It should
  811.    bring up ReportSmith.
  812.  
  813. A. Either the [ReportSmith] section is missing or incorrect in
  814.    the DELPHI.INI file.  Make sure that it specifies the correct
  815.    path.  e.g.
  816.  
  817.    [ReportSmith]
  818.    ExePath=C:\RPTSMITH
  819.  
  820.  
  821.