Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


SQLite and Basic4PPC


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2008, 11:28 AM
Junior Member
 
Join Date: Jul 2008
Posts: 27
Default SQLite and Basic4PPC

Hello,

I've just purchased the Basic4PPC for first time few days ago and I have some doubts about it. I'm just a newbie.

I've been programming with Borland tools for a long time and I need to make some projects for PPC and I choose B4PPC. I need to know more abour SQLite and the GPS library. I actually work with MSSQL, MySQL and Interbase/Firebird.

I'd like to know how I install the SQLlite in the PPC or if it's embedded within the application with a DLL. I'm acostumed to external engines, so I don't know.

How can I mantain the Database? Can I use 2 Db at the same time, for example?

Thank you.

Last edited by 2220 : 07-19-2008 at 11:31 AM.
Reply With Quote
  #2 (permalink)  
Old 07-19-2008, 11:50 AM
Knows the basics
 
Join Date: May 2008
Posts: 86
Default Basic4PPC

Hi There

I think it is very unfair of you to judge and come to a conclusion about B4PPC after only using it for a couple of days. I have been programming as a hobby for the last 20 years on a number of different platforms, ie. C++, Visual basic, OPL, Visual Studio, Fortran IV, NSBasic and now with B4PPC.

Give the platform a fair chance and you will be surprised by the power of the platform.

Don't be in a hurry!!!

Regards
Michael
Reply With Quote
  #3 (permalink)  
Old 07-19-2008, 12:10 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

There is no need to install SQLite on the device.
When you'll compile your application a native dll named System.Data.SQLite.dll will be copied to the executable folder.
This dll should be distributed with the executable (to the same folder).

Yes, you can work with more than one database. For each database create one Connection object and Command object.
Reply With Quote
  #4 (permalink)  
Old 07-19-2008, 12:11 PM
Junior Member
 
Join Date: Jul 2008
Posts: 27
Default b4ppc

Hi Michael,

I choose B4PPC because it's great!
I'm not judging, I just want to know how SQLite works with it. If it's embedded or not.
I'm developer since 80's, so with very few days I cannot Jugde of course.

I was just making a question. Nothing else.

I've things very clear and I'll need some months to learn the whole package.

Joan



Quote:
Originally Posted by ceaser View Post
Hi There

I think it is very unfair of you to judge and come to a conclusion about B4PPC after only using it for a couple of days. I have been programming as a hobby for the last 20 years on a number of different platforms, ie. C++, Visual basic, OPL, Visual Studio, Fortran IV, NSBasic and now with B4PPC.

Give the platform a fair chance and you will be surprised by the power of the platform.

Don't be in a hurry!!!

Regards
Michael
Reply With Quote
  #5 (permalink)  
Old 07-19-2008, 12:14 PM
Junior Member
 
Join Date: Jul 2008
Posts: 27
Default Basic4PPC

Thank You, that's what I want to know.

I've searched a DB manager called SQLite Maestro. What's your opinion?

As I can see, You have done a very great job. Congratulations!

Joan


Quote:
Originally Posted by Erel View Post
There is no need to install SQLite on the device.
When you'll compile your application a native dll named System.Data.SQLite.dll will be copied to the executable folder.
This dll should be distributed with the executable (to the same folder).

Yes, you can work with more than one database. For each database create one Connection object and Command object.

Last edited by 2220 : 07-19-2008 at 12:18 PM.
Reply With Quote
  #6 (permalink)  
Old 07-19-2008, 12:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

I'm not familiar with this manager.
This is a nice tool I occasionally use: SQLite Expert - SQLite Database Administration Tool
The freeware version is pretty powerful.
Reply With Quote
  #7 (permalink)  
Old 07-19-2008, 09:05 PM
Junior Member
 
Join Date: Jul 2008
Posts: 27
Default

Hi Erel,

Sorry I'm not talking about Basic4Pcc yet, I'm building my dev platform at this time. First I need to build some automatic routines for transferring SQL Server Data to SQLite DB. Then I can begin to develop in B4PPC. I've purchased a ADO DB Driver for SQLite and it works fine.

My question would be how can I protect my SQLite database. User's Login/Passwords exists? How do you make?

Joan

Quote:
Originally Posted by Erel View Post
I'm not familiar with this manager.
This is a nice tool I occasionally use: SQLite Expert - SQLite Database Administration Tool
The freeware version is pretty powerful.
Reply With Quote
  #8 (permalink)  
Old 07-20-2008, 05:43 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

You can use one of the Crypto libraries: Crypto or CryptoEx to encrypt the required fields in your db.
Reply With Quote
  #9 (permalink)  
Old 07-20-2008, 10:48 AM
Junior Member
 
Join Date: Jul 2008
Posts: 27
Default

Thank You again Herel,

Can I look up de code to rewrite this functions to Delphi to make encryption compatible with the PPC app. side?

Which version of SQLite is best stable for Basic4PPC?

Regards from Barcelona,

Joan



Quote:
Originally Posted by Erel View Post
You can use one of the Crypto libraries: Crypto or CryptoEx to encrypt the required fields in your db.
Reply With Quote
  #10 (permalink)  
Old 07-20-2008, 08:13 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

You can find the code of Crypto.dll under Basic4ppc libraries folder (Crypto.cs).
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:46 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0