Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 93
Registered: ‎08-18-2011
My Device: 9550
My Carrier: At&T
Accepted Solution

Unable to determine the application exit code

Hi Guys,

 

I used bellow code to exit from application programatically.

 

Application::instance()->requestExit();

 

but i am getting following errors:

 

Unable to determine the application exit code

 

please find the attatched error image.

error.jpg

 

please help me to fix it.

 

Thanks,

Shwarup Biswas
Developer
Posts: 1,008
Registered: ‎12-12-2010
My Device: Passport (Red Limited Edition)
My Carrier: Mobile Vikings

Re: Unable to determine the application exit code

Application::instance()->exit(0);

 

Or any code you want to use instead of 0.

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Developer
Posts: 93
Registered: ‎08-18-2011
My Device: 9550
My Carrier: At&T

Re: Unable to determine the application exit code

Thanks Zezke. This issue fixed.
Thanks,

Shwarup Biswas