Oci.dll problem with finalbuilder5

Hello,

I got a problem with Finalbuilder 5. When I start Finalbuilder,  and run my script one of my programs will give the following error message:

Unable to locate Component.

"this application has failed to start because OCI.dll was not found. Re-installing the application may fix this problem"

The next message is Cannot load a IDAPI service library.

FIle: SQLORA8.dll

So it seems that the local enviroment (PATH) has been erased, But when I run the script again, without closing finalbuilder it will run smoothly. ????How is this possible? And what is the solution.

I tried to reproduce this on a different pc, with same script, but here I have no problems!

I searched on the net, and found out that there is possibility that there is something wrong with the enviroment variable. But I can't seem to find andy solution for my problem, bacause the variable stay the same

 

Which action is failing with that error?

Have a look in Tools | Edit Variables and then on the Environment tab and you can view the environment variables that FinalBuilder sees.