Board index » delphi » File Locking, SHARE.EXE an Windows 95

File Locking, SHARE.EXE an Windows 95

I recently installed a Windows 95 Beta, and since then have been
receiving an Exception with error $2108 given, when starting delphi,
or any application that makes use of BDE based database access.

I believe that this is (or was when using Win 3.11) related to not
having installed share.  

The question is..... what do I do for Windows 95?  I'm not sure where
to look :-(

 

Re:File Locking, SHARE.EXE an Windows 95


Quote
Simon Devlin (si...@emer.demon.co.uk) wrote:

: I recently installed a Windows 95 Beta, and since then have been
: receiving an Exception with error $2108 given, when starting delphi,
: or any application that makes use of BDE based database access.

: I believe that this is (or was when using Win 3.11) related to not
: having installed share.  

: The question is..... what do I do for Windows 95?  I'm not sure where
: to look :-(

The error code $2108 has nothing to do with file locking, SHARE, or with
Windows 95 (at least, not directly). This error code indicates that
Delphi/BDE was unable to locate the file IDAPI01.DLL, the basic dynamic
link library necessary for any type database access.

This DLL is installed in the IDAPI directory (default installation loc-
ation \IDAPI). This location is pointed to for purposes of the init-
ialization of the BDE by a setting in the WIN.INI file. In the [IDAPI]
section, the setting DLLPATH should point to the directory that contains
this file.

  [IDAPI]
  CONFIGFILE01=C:\IDAPI\IDAPI.CFG
  DLLPATH=C:\IDAPI

Without this setting indicating the location of the IDAPI/BDE system
DLLs, these system files will still be found when the BDE initializes
if the IDAPI directory is in the DOS path.

As with other 16-bit, pre-Windows 95 software, Delphi and the BDE rely
on settings in the Windows .INI files rather than the Register (the 32-
bit version of Delphi for Windows 95 will use the later methodology).

--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Steve Koterski               _/   The opinions expressed here are    _/
_/ koter...@borland.com         _/         exclusively my own           _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Other Threads