Subject Re: [IBO] IBO 4.9.14(12) and Delphi 5 crashes
Author Geoff Worboys
> I am aware of problems existing in Delphi 5 and 6 with the
> latest version of IBO. I don't know why this problem exists
> but for this reason I officially dropped support for Delphi
> 3, 4, 5 & 6.
>
> If someone can figure out what went wrong, or perhaps go
> through the tedious process of testing versions of IBO until
> the problem manifests, then I would consider officially
> supporting those versions with IBO 4.9.x again.

I found something - not in the IBO code but in Delphi v6.
If I go into the project Options, Compiler tab and set the
Optimizations off (Code Generation box) I was able to
successfully make a connection (IBO v4.9.14.9).

When I turn Optimizations back on its as though something
is walking over the memory and destroying such things as
the connection password and/or params strings. I think it
could be that some of the redundant string casts are
confusing the optimiser, but that's just a guess based on
some other fiddling I've tried.

(Note: It is NOT important to me personally that IBO should
support D6 or earlier, I just happened to be trying something
else out and ended up playing with it for a while.)

--
Geoff Worboys
Telesis Computing