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
}
}
close gprs connexion
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: close gprs connexion
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
_______________________________
market samurai ~ marketsamurai ~ marketsamurai.com