I am trying to connect with a bluetooth device using Carbide c++ SDK s603rdFP1. I have done the code for device discovery, using RHostResolver::GetByAddress()and Next(), I look for the devices I have in range until I discover the device I am interrested on.Everything works ok, but I have several problems:
1. When I have any bluetooth device my application closes but with Sock_19, how can i solve this?
2. When I have discovered my device, I want to connect to it, but i don't know how I have to do it, I have a TNameEntry structure and i have tried to do the following, but it doesn't work, my application on emulator closes inmediatly:

TBTSockAddr testBTSockAddr= entry().iAddr;
iSomeSocket.Connect (testBTSockAddr,status);