PDA

View Full Version : SQL Links for Delphi 16 bit



NewsArchive
12-23-1997, 01:00 AM
Anyone know how to edit the ISDEPEND.INI and SWDEPEND.INI files for ISX v2
(not Delphi specific) to include SQL Links in a Delphi project with the
target of 16 bit.

To elaborate....

I need to create an installshield exe that is 16 bit (must run on windows
3.11) that will install a 16 bit Delphi project that uses 16 SQL Links to
get to the Oracle database. It appears that ISX v2 when set to Delphi
project type and 16 bit target platform misses the SQL Links object
completely. The two ini files mentioned above, can be edited to place
extra objects into ISX, but some of the information is not available.
Installshield tech support gave me an answer of "put the SQL Links files in
manually" but this seems tacky to me and I'd really like a slicker
solution.

Any offers? Please e-mail directly if possible... (and place on newsgroup
of course, to help all Delphi developers!)

Regards
Andy Dix

NewsArchive
12-23-1997, 01:00 AM
On 23 Dec 97 13:22:31 GMT, "Andy Dix" <andy.dix@btinternet.com> wrote:
>Anyone know how to edit the ISDEPEND.INI and SWDEPEND.INI files for ISX v2
>(not Delphi specific) to include SQL Links in a Delphi project with the
>target of 16 bit.

You shouldn't edit those two files.

You can however look in the SQL Links documentation that explains which
sections have to be added to the WIN.INI and which DLLs to distribute.

Stefan
ellipse data systems

NewsArchive
12-28-1997, 01:00 AM
This is all very well but, this will not allow me to create a new BDE alias
at install time that has all the correct setting etc. And before anyone
says "just install a idapi.cfg", what about the poor users idapi.cfg that
you've just overwritten will the new one? Oops! Sorry Mr/Mrs/Miss User,
all your BDE alias that you may have been using elsewhere has now been
erased! What do you think my middle name is? Microsloth! (Sorry for
anyone that does not like sarcasm, I've had a bad day...) I'm also fed up
with companies that only provide half a solution. We the money paying
public that buy the software should revolt and get a good deal for our
money. And I'm a programmer writing software everyday.

Stefan Paetow <owner@ellipse-data.com> wrote in article
<34a03f01.1361577@news.installshield.com>...
> On 23 Dec 97 13:22:31 GMT, "Andy Dix" <andy.dix@btinternet.com> wrote:
> >Anyone know how to edit the ISDEPEND.INI and SWDEPEND.INI files for ISX
v2
> >(not Delphi specific) to include SQL Links in a Delphi project with the
> >target of 16 bit.
>
> You shouldn't edit those two files.
>
> You can however look in the SQL Links documentation that explains which
> sections have to be added to the WIN.INI and which DLLs to distribute.
>
> Stefan
> ellipse data systems
>

NewsArchive
12-28-1997, 01:00 AM
On 28 Dec 97 18:54:48 GMT, "Andy Dix" <andy.dix@btinternet.com> wrote:
>at install time that has all the correct setting etc. And before anyone
>says "just install a idapi.cfg", what about the poor users idapi.cfg that
>you've just overwritten will the new one? Oops! Sorry Mr/Mrs/Miss User,

Andy, I totally agree that that is not the solution. To simply overwrite
the IDAPI.CFG is a bad idea. It is plain stupid.

>erased! What do you think my middle name is? Microsloth! (Sorry for
>anyone that does not like sarcasm, I've had a bad day...) I'm also fed up

Everyone does have those :)

>with companies that only provide half a solution. We the money paying
>public that buy the software should revolt and get a good deal for our
>money. And I'm a programmer writing software everyday.

Ok, you can do the following:

Write a DLL in Delphi (non-UI) that you can include in your installation.
This DLL then can create the SQL Links aliases as needed. This is a nice
thing to do, although those aliases won't be removed. You can always use a
"self-registering" DLL in a 32-bit environment, or include an EXE that will
remove those aliases and then launch the uninstall.

Unfortunately I do not have any BDE documentation for the 16-bit BDE, but
I'm sure you can ask Borland for it. Try David Intersimone at Borland. His
address is davidi@borland.com.

Stefan
ellipse data systems