Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Getting started on mobile development (PocketPC)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 10th June 16:51
ney_andré_de_mello_zunino
External User
 
Posts: 1
Default Getting started on mobile development (PocketPC)



Chris Tacke, eMVP escreveu:


Thank you for your response. I have managed to install eVC++ 3.0 and the
PPC 2002 SDK and build a wizard-generated PPC application. It was nice
to see the application displayed on the emulator. Now for some new
questions... Two of my application requirements are: to communicate with
a server running on a PC and to process XML-based messages obtained from
that server.

For the networking part, I confess I am rather confused. There seems to
be so many options (raw WinSocks; MFC's CSocket, CAsyncSocket and
CCeSocket; WinInet; etc.) that one will have trouble picking one. IIRC,
I have read that CSocket and CAsyncSocket are not options for Windows
CE. As a matter of fact, many sources indicated that CSocket is good for
nothing and should best be avoided. Given that, what about using
CCeSocket? Is it reliable? What about resorting to raw WinSocks? What
would you recommend for a new application with relatively simple
networking needs (basically, the mobile application will need to
exchange XML-based messages with a PC-based server and also be able to
receive notifications from that same server)?

As for the XML part, I reckon one can use MSXML. Are there any caveats
of which I should be aware? Would you have any on-line resources to
recommend?

Thank you once again,

--
Ney André de Mello Zunino
  Reply With Quote


  sponsored links


2 20th June 05:34
chris tacke, emvp
External User
 
Posts: 1
Default Getting started on mobile development (PocketPC)



Raw sockets and Expat would be my personal recommendations. Socets are
simple, and MSXML is terribly slow.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
  Reply With Quote
3 20th June 05:34
john spaith [ms]
External User
 
Posts: 1
Default Getting started on mobile development (PocketPC)


For using or not using MSXML, the perf implications depend on how much XML
you'll be dealing with. You can point the XML DOM to a URL directly (a la
xmldom.load(http://foo/foo.xml)). There is also XMLHTTP, which gives you a
little more control of the HTTP request (such as setting POST data). This
is much easier than accessing a server via raw sockets and if you're not
dealing with megs of data you may be OK with perf.

If you're talking to a web server and you do NOT use the built-in MSXML
components, then you should look at wininet. Wininet is a glorified socket
wrapper in some sense but it knows a lot about HTTP and hides all those
details from you.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666