From: Marco K. <Marco.kregarA@Tfirebirdsql.it> - 2004-07-29 16:40:32
|
> If you want, I can post the code. Yes, plz-:) -- Marco ""Dorin Vasilescu"" <dor...@ya...> ha scritto nel messaggio news:ce7bfh$kv6$1...@ne...... > The easiest way that I found was to programatically create DSN in registry, > pointing to DLLs (driver DLLs and fbclient.dll) located in application > folder, without the need to install the driver. Then, the type of > fbclient.dll (client libray or embeded server) will dictate the behaviour - > server or local access > > If you want, I can post the code. > > > ""Pablo I. Lerner"" <p_l...@ya...> wrote in message > news:ce72sv$j9s$1...@ne...... > > I'm trying to connect to the embedded server from Visual Fox Pro 7. > > I installed the driver by "regsvr32 odbcjdbcsetup.dll /i". A message says > No > > entry point to DllInstall. However the driver shows up as an available > > driver on the control panel ODBC Administrator applet. > > > > After that I copied fbembed.dll as fbclient.dll to the VFP application > > directory and to C:\windows\system > > > > Now I'm trying to connect with the sentence: > > nCon = SQLStringConnect("DRIVER=Firebird/InterBase(r) driver; > > DBNAME=c:\labo.fdb;") > > > > As I'm been prompted for username and password I assume that the driver is > > found(SYSDBA and masterkey are provided). Next, connection is not made and > > error "unavailable databade" shows up. > > > > Database c:\labo.fdb exists and I'm using WinXp Professional. System > Restore > > is off. > > > > Does anyone have an idea how to make this connection? Has anyone been able > > to connect to the embedded server from visual fox pro 7 and this driver? > > > > thanks in advance, > > > > pablo > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Firebird-odbc-devel mailing list > > Fir...@li... > > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Firebird-odbc-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > |