close gprs connexion

close gprs connexion

Postby Richard Chidiak » Sat Sep 02, 2006 12:52 pm

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
}
}
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: close gprs connexion

Postby paulyne » Wed Apr 27, 2011 9:35 am

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
paulyne
 
Posts: 1
Joined: Fri Apr 22, 2011 7:47 am


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 7 guests