PDA

View Full Version : Is posibility to send and get data from server over internet?


grossman
02-02-2007, 09:19 PM
I am new in programing for WinMobile and my customer want to program some application for collecting data from terrain in to MySQL DB.
Tell me please very shortly how to do it, if there is this possilbility and I can use the PPL for this task.
Thanks

kornalius
02-03-2007, 03:01 AM
Yes of course, we have easy-to-use libraries for SQLite and TCP/IP, Bluetooth.

You can even write the PC server in PPL and the PPC client using PPL too. All in one package!

PointOfLight
02-03-2007, 09:53 AM
To connect to MySQL from the desktop, you'd have to use a modified version of the ADO library that supports ODBC connections. If you want connect to MySQL through the PPC, you'd need to find someone that's written a PPC DLL that supports MySQL (at least that's my guess at the moment).

tigme
02-03-2007, 10:43 AM
Is it possible to set up ODBC connections with PPL? I'm not not sure yet... Still a little new around here.

If so it would be possible to connect to configured MySQL databases with PPL using ODBC. Look at this page:
http://www.mysql.com/products/connector/ and get ODBC Driver for MySQL (Connector/ODBC)

PointOfLight
02-03-2007, 10:56 AM
ADO can use ODBC, so that will work on the desktop version. Unfortunately, I'm not sure that PPCs can use ODBC, so my only question was what would need to be done to connect on the PPC. I've never actually run into anyone that's wanted to connect to MySQL from their PocketPC, though.

[Edit]

Here's a quick sample I threw together to show connecting to a MySQL database: MySQL Connect