I am making an application that needs to dial a no. and once the phone call is established, the control must return to the application. Then the user accesses a menu in the application and selects options, each of which send DTMF tones over the established connection. My main problem is that once a connection is established, how does control return back to the application that initiated the call?
I have tried the following code (obtained fron the forum itself) and have a problem in compiling it. On the ARMIB platform, I get an error "Dialer[xxx].app contains uninitialized data" where Dialer is the app name and xxx are some digits. However, the same code, when I compiled on the WINSB platform gave no errors. Can you tell me a possile reason?
I am using the Borland C++ mobile edition.
// check for status of the call set ret to ETrue when hannging up
// or idle. and bring app to front
if (iCallStatus == RCall::EStatusHangingUp || iCallStatus == RCall::EStatusIdle)
ret = EFalse; //finished do not come back
//bring app to foreground
ret = ETrue; //not finish, do come back