PDA

View Full Version : BDE and Oracle Alias



NewsArchive
08-12-1996, 12:00 AM
Context : I'm trying to create an installation for Delphi 32 bit apps.

Doing so I need to create two aliases. One that points to a Novell drive
(not tested yet) and another that leads to Oracle.

My first problem was to manage to not specify any path statement when
creating the installation program. The User Guide, as well as the FAQ
guide both agrred that you should type <INSTALLDIR> in the path field,
but doing so nothing worked. The app would look for Oracle tables on a
local drive !!! The solution to that problem was to let it blank or in
the additional parameters add 'PATH='

Second problem and still not solved, when I specify a laguage driver for
my Oracle Alias (LANGDRIVER=Pdox ANSI Intl850) the alias is generated
and everything looks good, but when running the app, I get an Error Code
8715, Category 34, SubCode 11, Native Error 0 and Message = Could not
find language driver. I have to mention that when I create that Alias
manually, I have to select that language driver from a pickList (drop
down) and when I do so the alias is valid and the app runs perfectly?!?

I'm bewilderd !

If anybody has any ideas, please Reply to me through this newsgroup or
again via E-Mail (mikec@servier.ca)

Thanks

Mike

NewsArchive
08-12-1996, 12:00 AM
Denis Lavoie <dlavoie@servier.ca> wrote in article
<320F95B9.3FD0@servier.ca>...
> Context : I'm trying to create an installation for Delphi 32 bit apps.
>
> Doing so I need to create two aliases. One that points to a Novell drive
> (not tested yet) and another that leads to Oracle.
>
> Second problem and still not solved, when I specify a laguage driver for
> my Oracle Alias (LANGDRIVER=Pdox ANSI Intl850) the alias is generated
>
I suggest you check the codes that actually get stuffed into the aliases
that
get created. If you are using delphi you can do it as simply as

Session.GetAliasParams( 'Alias Name Here', Memo.Lines );

I did a quick test with the language driver you mentioned and here are my
results:
SERVER NAME=2:
USER NAME=SYSTEM
NET PROTOCOL=
OPEN MODE=READ/WRITE
SCHEMA CACHE SIZE=8
LANGDRIVER=ANSII850 <--------------
SQLQRYMODE=
SQLPASSTHRU MODE=SHARED AUTOCOMMIT
SCHEMA CACHE TIME=-1
MAX ROWS=-1
BATCH COUNT=200
ENABLE SCHEMA CACHE=FALSE
SCHEMA CACHE DIR=C:\TEMP


Ryan VanIderstine
rvanider@sympatico.ca