Click here to get back home

Can wininet functions trigger CM to auto-establish a GPRS connecti

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can wininet functions trigger CM to auto-establish a GPRS connecti Peter 06-11-2005
Posted by Peter on June 11, 2005, 10:03 pm
Please log in for more thread options
Hi there,

My application periodically uses the wininet functions to access a web site
to fetch some data, either via ActiveSync or GPRS. For ActiveSync, it works
perfectly but GPRS is the more important case.

For GPRS, I currently establish the internet connection manually. I've used
both Connection Manager and RAS. Both more or less work, however neither
works satisfactorily (outgoing phone calls cause major problems - app can't
make a GPRS connection after an outgoing phone call).

My question is this:
Is there a way of using the wininet functions so that establishment of the
default CM connection to the Internet happens automatically based on the user
configuration ? (Isn't that the whole point of Connection Manager ?)

Ie. why doesn't CM automatically establish the default internet connection
when a wininet function like InternetOpenURL() is called ? Why do I even
have to muck around with RAS and CM ?

The wording of the user data settings implies that this behaviour should be
available, so I assume I am not using the wininet functions correctly. Also,
this is commonly seen on desktop PC's - when appropriately configured,
opening the browser (appears to ?) automatically trigger establishment of a
dial up session to your ISP.

Device-wise, I find the same behaviour across Smartphone 2002 and 2003; PPC
2002 and 2003. (I am using HTC devices; tanager, voyager, himalaya and
feeler).
I use the plain old Win32 C APIs - if you post any compact framework code, I
won't be able to understand it !

Thanks in advance for any help,
Peter Donnelly


Similar ThreadsPosted
Sms Functions API Failing April 2, 2007, 8:22 am
WMMX Intrinsic Functions May 31, 2007, 6:18 pm
How to link the default functions or Folder by using code? October 27, 2005, 3:56 am
SSL with WinINet April 16, 2008, 4:30 pm
WinInet problem August 1, 2005, 1:44 am
Asynch wininet - Threaded or not? February 1, 2006, 9:51 am
Re: Asynch wininet - Threaded or not? February 2, 2006, 2:45 pm
GPRS Question June 21, 2005, 11:47 am
How GPRS is working May 11, 2006, 4:47 am
Problem with GPRS APN September 6, 2006, 4:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap