Simon D
Simon D

Reputation: 333

How to connect to SQL database on a Windows CE Application for ARM

I'm trying to send queries to a SQL database from a Windows CE 7 C++ application running on an ARM architecture.

During my research I found several possibilities to do this:

So I'm wondering what other/better ways there are to send these queries.

Thanks for your help!

Upvotes: 1

Views: 1789

Answers (2)

salvolds
salvolds

Reputation: 211

you can implement your third option but you need to implement also another software component (on the SQL server side) to do the following work:

  • connect to the database;
  • decode the JSON and query the database;
  • encode the database answer in JSON and send back to your WEC7 application.

If you are familiar with C# and if you have .NET compact framework installed on your WEC7 machine you could also implement the software component that will send HTTP REQUEST in plain C# (without the need to study wininet).

Hope this helps

Upvotes: 0

Ross Bush
Ross Bush

Reputation: 15175

If it is a pocket pc sql server lite database then you can use ADOCE to access and configure your database. The service'esqe approach is also valid and will take the data access burden from your client application.

Upvotes: 1

Related Questions