Delphi 3.02 / SQL 6.5 BDE error

I have 2 applications written in Delphi 3.02 and both communicate with SQL
fines by themselves. When you try to run the second program you get a
Borland Database engine error. I used sessions hoping to correct the problem
but did not matter.  Any help would be appreciated.