User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Jul 2007
Posts: 11
Reputation: ocean001 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ocean001 ocean001 is offline Offline
Newbie Poster

ODBC help!!!!

  #1  
Sep 18th, 2007
hi all,

currently i am trying to make my mobile dialog/interface to retrive data from my database(ODBC), but i am not too sure about that, can anyone kindly advice me on that.


thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: ODBC help!!!!

  #2  
Sep 18th, 2007
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.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 11
Reputation: ocean001 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ocean001 ocean001 is offline Offline
Newbie Poster

Re: ODBC help!!!!

  #3  
Sep 18th, 2007
hi dragon,

which means that i have to write a socket program for my data base or for my pocket pc?

thanks
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: ODBC help!!!!

  #4  
Sep 18th, 2007
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.
Last edited by Ancient Dragon : Sep 18th, 2007 at 11:09 pm.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 11
Reputation: ocean001 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ocean001 ocean001 is offline Offline
Newbie Poster

Re: ODBC help!!!!

  #5  
Sep 19th, 2007
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?
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: ODBC help!!!!

  #6  
Sep 19th, 2007
Originally Posted by ocean001 View Post
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.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 11
Reputation: ocean001 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ocean001 ocean001 is offline Offline
Newbie Poster

Re: ODBC help!!!!

  #7  
Sep 19th, 2007
oh, thanks dragon, you really help alot. but i just need to pull small amount of the information from database such as point balance. does it really need to create such a difficult program, or just need to add some code to connect and retrieve data from database?
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: ODBC help!!!!

  #8  
Sep 19th, 2007
ADOCE is a VB DLL that might can be used with C/C++ programs. It will probably work for you if you only have small amount of data. Alo read this and this
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 11
Reputation: ocean001 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
ocean001 ocean001 is offline Offline
Newbie Poster

Re: ODBC help!!!!

  #9  
Oct 1st, 2007
oh thanks dragon..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 3:16 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC