PI bride connection code required


have installed PI bride and connected, but when i connection code is called in my buy sell afl giving error (in sufficient multi thread error), can someone give the working code with simple buy sell afl along with bridge connection code taking nifty dec as example

my PI latest update 11/11/2015 and Amibroker 6