•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,489 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,693 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 779 | Replies: 8
![]() |
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
ODBC doesn't work directly on wireless (embedded) devices running Microsoft Pocket PC or Mobile 5.0 operating systems. There is at least one commercial dll that will allow mobile devices to send data back and forth to database, but it is quite costly. There is a free DLL from Microsoft that you can get with eVB compiler, but it is pretty darned slow when sending/receiving lots of data. The only other choice I know of, which we took, is to write your own socket program that acts as a bridge (server program) between the wireless device(s) and the database.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
if you write your own thing you will need to write two programs:
1. On the database server computer you need a service program (assuming MS-Windows operating system) that receives requests from the wireless device(s), send the requests to the database program, gather the result set(s) and forward the result set(s) back to the wireless devices. You can also write this as a deamon on a *nix box. And the database may reside on the same computer or another remote computer.
2. On the wireless device you need a program that sends sql requests to the server mentioned above and wait for the result. After receiving the result set(s) store the result sets in a format that can be used by the program running on the wireless device. The program I wrote stored the data in files so that they could be used later by any of several programs running on the wireless device. Sort of like writing your own database program. WinCE has its own built-in database manager but its just too slow to be useful for anything larger than some trivel requirements.
1. On the database server computer you need a service program (assuming MS-Windows operating system) that receives requests from the wireless device(s), send the requests to the database program, gather the result set(s) and forward the result set(s) back to the wireless devices. You can also write this as a deamon on a *nix box. And the database may reside on the same computer or another remote computer.
2. On the wireless device you need a program that sends sql requests to the server mentioned above and wait for the result. After receiving the result set(s) store the result sets in a format that can be used by the program running on the wireless device. The program I wrote stored the data in files so that they could be used later by any of several programs running on the wireless device. Sort of like writing your own database program. WinCE has its own built-in database manager but its just too slow to be useful for anything larger than some trivel requirements.
Last edited by Ancient Dragon : Sep 18th, 2007 at 11:09 pm.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
•
•
•
•
hi dragon;
thanks for your time. you did mention above about the a program to send SQL request to server. what do you mean by program, i have do it myself or can download somewhere?
I mean a DLL or a static library which contains functions that can be called by the application program. And you will have to write these yourself because those that I am aware of are proprietary and can not be released.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Writing to an Access Database (Visual Basic 4 / 5 / 6)
- VB: Connect to Access database via ODBC datasource name (Visual Basic 4 / 5 / 6)
- How To Connect VB6.0 (Access Database) Using ODBC (Visual Basic 4 / 5 / 6)
- ODBC with Visual C++ (C++)
- Access through ODBC (Java)
- ODBC has encountered a problem and needs to close (Windows NT / 2000 / XP / 2003)
- ODBC has encountered a problem and needs to close (Visual Basic 4 / 5 / 6)
- odbc administrator (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: Can't figure out why it won't work.
- Next Thread: Clipboard Question



Linear Mode