Recent

Author Topic: Lazarus and AS400  (Read 8155 times)

AlbertoB

  • Newbie
  • Posts: 4
Lazarus and AS400
« on: December 16, 2009, 09:05:03 am »
Hello,
I'm new and i would like to know if is possible with Lazarus develope
a pocket pc application that is connected to an AS400 db.
I'm using Delphi with Delphi/400 midlleware, but for pocket pc there isn't a good possibility.

Thank you

Alberto

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Lazarus and AS400
« Reply #1 on: December 16, 2009, 12:00:51 pm »
Yes, it's possible, but I am somewhat confused. From your post I would guess that AS400 is a database format, but wikipedia shows that AS400 is a hardware: http://en.wikipedia.org/wiki/AS400

So I assume that you want to access a database *in* a AS400 hardware, probably through a network connection. So which database engine are you using?

AFAIK the hardware should be irrelevant if your database server runs in AS400 and your client in PocketPC, the real important thing is knowing how to use the database engine you are using. If you havent yet chosen which database format to use then you need to research which database engine has a server which runs in AS400 and also a client library for Pocket PC. Then you can use this dll from your Pascal application in the Pocket PC.

AlbertoB

  • Newbie
  • Posts: 4
Re: Lazarus and AS400
« Reply #2 on: December 16, 2009, 12:48:21 pm »
Yes, it's true, the database engine is DB2/400 , excuse me !
But because i'm new in Lazarus i don't know if there are differences
between access to any database engine (like MySQL,Interbase,etc.) and the DB2/400.
Are necessary third parts components (library) or is all "native" with Lazarus ?

As early as possibile i'll take a look at Lazarus in details.

thank you ver much !!

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: Lazarus and AS400
« Reply #3 on: December 16, 2009, 01:30:31 pm »
 I think that SQLDb,ZEOS LIB  hasn't support for DB2.

I don't know about other library.

You can search for some ODBC driver for connect with Lazarus/fpc.

Regards

 

TinyPortal © 2005-2018