Page 1 of 1

close gprs connexion

PostPosted: Sat Sep 02, 2006 12:52 pm
by Richard Chidiak
Hello

I can send data through gprs thank's to Pawel's code (works great) .

I want to close automatically the gprs connexion after transmission .

For this i use code below but the connexion is still up after execution of this code. I am using windows mobile 2003.

Any help will be appreciated,

Thanks

Richard

HB_FUNC (CLOSEGPRSCONNECTION)
{

HANDLE phWebConnection = NULL;
DWORD pdwStatus = 0;
DWORD hresult = 0;

ConnMgrConnectionStatus (phWebConnection, &pdwStatus);
if (pdwStatus == CONNMGR_STATUS_CONNECTED)
{
hresult == ConnMgrReleaseConnection(&phWebConnection,0); // 0 = disconnect immedialtely
}
}

Re: close gprs connexion

PostPosted: Wed Apr 27, 2011 9:35 am
by paulyne
How can I gprs for free on my airtel sim? For about last 3 months i was not being charged for using mobile office on my airtel sim(i dont know why). Recently i formatted my phone and now i am being charged for using gprs. Is there a way by which i can again make it free?
_______________________________
market samurai ~ marketsamurai ~ marketsamurai.com