Does anyone know how to get BDE working when you write an MSSQL 7.0 Extended

Does anyone know how to get BDE working when you write an MSSQL 7.0 Extended
Stored procedure and have other BDE based programs running. Whenever I run
it it gives me BDE error $2109 "cannot load idapi32.dll" when other BDE
programs are running. IE BDEAdmin

Jason Trahan