Re: windows app development



iurii RE wrote:
Hello every body i have a question and it may be silly sorry for that because im just a beginner

what i want to do is to write a soft for windows mobile *and the main thing what the soft is sopposed to do is to go on web and download data from the web page and display it (very small just few strings) up to now
i want to use for that gprs because the aplication is supposed to work everywhere so the wifi is not a good idea anyway
my phone model is T32 is a clone of i-phone.
btw i successfully established a connection between host and linux with ppp and it works fine,
in linux in my program i'm just calling the ppp protocol (it connects) and after almost with 1 command i am downloading strings from the host and work with them inside my program.
the question is :
can i do smth similar on windows to what i've done with linux kernel i meen to make a ppp connection? if i will establish this connection using ppp protocol will i be able to download some data from the code program?(i mean thera some commands for that?) how can i access the driver for GPRS module
am i able to do that? maybe there are other ways?

Ciao iurii,
you can activate dial-up connections using RasDial and manage them using other Ras* prefixed APIs.
On Windows Mobile (and on Windows CE since version 6.0) you can also use the connection manager to activate different kinds of network connections (not only GPRS dial-up):
http://msdn.microsoft.com/en-us/library/bb840031.aspx

To download the data you can use windows sockets (the implementation is based on berkeley sockets, so porting should not be a big issue) or use WinInet API
http://msdn.microsoft.com/en-us/library/aa919330.aspx
to use high-level functions to handle protocols like HTTP or FTP.

You don't need to access the GPRS driver to manage this kind of features.


--
Valter Minute (eMVP)
Training, support and development for Windows CE:
www.fortechembeddedlabs.it
My embedded programming and cooking blog:
www.geekswithblogs.net/WindowsEmbeddedCookbook
Windows Embedded support forums in Italian:
http://social.msdn.microsoft.com/Forums/it-IT/windowsembeddedit/threads
(the reply address of this message is invalid)
.



Relevant Pages

  • RE: auto Dial up
    ... Remote Access Auto Connection Manager service ... If you want to make sure what the Process or the application download this ... "AutoRuns for Windows v8.61 By Mark Russinovich and Bryce Cogswell" ... Under General Tab clear your History, ...
    (microsoft.public.windowsxp.general)
  • Internet Connection Sharing using Dial-Up
    ... I am trying to configure my Windows CE 5.0 device as a Gateway and have ... and access to the internet can be achieved through the WLAN ... I have verified the GPRS ... Autodialer would dial and connect to the GPRS connection straight away, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Xp Home upgrade to SP2
    ... with my SystemSuite5, cleaned up the hard drive, defragged, checked the ... WindowsXp-KB835935-SP2-ENU.exe (the full 266M download from Microsoft of ... friends that do not have a broadband connection). ... yes the popup windows ...
    (microsoft.public.windowsxp.newusers)
  • Re: cant pause update downloads
    ... "When you are ready for Windows to start downloading again, ... "After the download has started, you can pause or resume downloading at any ... If you close your Internet connection or restart your computer after ... happens whether I use automatic updates or on-demand updates. ...
    (microsoft.public.windowsupdate)
  • Re: Download speed confusion!
    ... > Im using windows xp pro. ... I have a cable broadband connection that is ... > pops up showing the download progress. ... Modem speeds are in BITS per second. ...
    (microsoft.public.windowsxp.network_web)