BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi Port of the SQL Anywhere ASA DBTools.H unit and DBTo

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Steven J. Serenska
Guest





PostPosted: Thu Dec 30, 2004 3:55 pm    Post subject: Delphi Port of the SQL Anywhere ASA DBTools.H unit and DBTo Reply with quote



Ladies and Gentlemen:

[I am new to this group so please let me know if this type of post
should be submitted elsewhere.]

I just began upgrading an older Delphi port to the SQLAnywhere/ASA
dbTools library. My objective is to get it all to run on Delphi 7 =>
ASA9.x.

I have some original 16-bit Delphi code that interfaced with ASA v5.5.
The code was fairly well architected and has served as a good model.
However, I'm having trouble getting DBTools9.dll to respond correctly
(e.g., calling DBToolsInit and then successfully calling DBCompress). I
think I'm running into as many issues going from 16- to 32-bit Delphi as
I am going from v5.5 to v9 of SQLA.

Before I undertake a many days of conversion/debugging, does anyone
(including vendors) have a working version of a 32-bit Delphi port of
the ASA9 DBTools library? In addition to the Delphi mapping of
DBTools.H, I would like to see how calls are made to DBCompress,
DBExpand, and DBValidate (plus DBToolsINIT and DBToolsFINI).

Frankly, if anyone has ANY functioning Delphi 4/5/6/7 code which
successfully calls any of the DBTools routines within ASA 6/7/8/9, I
would be interested in seeing how it was done. While I am not an expert
coder, my thinking is that if I can see a working model, it will make
life easier.

If I do get it working and others are interested, I would be willing to
put together all the code samples I receive and publish a Delphi/DBTools
interface on a website somewhere.

Thanks in advance for everyone's help.

Steven J. Serenska
Back to top
Mario *LigH* Rohkrämer
Guest





PostPosted: Mon Jan 03, 2005 10:04 am    Post subject: Re: Delphi Port of the SQL Anywhere ASA DBTools.H unit and Reply with quote



Dear Steven,

because you do not use dbExpress, the dbExpress group is probably not the
best matching one; instead, the "general" delphi database group might match
better.

Or, because you specifically want to use the Sybase ASA DBMS, you might also
be interested in the group
news://forums.sybase.com/sybase.public.sqlanywhere.general

Anyway: There already exists a project which directly communicates with
several Sybase DBMS, which is called "SaVcl":

http://savcl.narod.ru/en.html

But as far as I could find out, it does not use DBTools, instead it uses the
dblib#.dll / sadll##.dll directly.


Back to top
Steven J. Serenska
Guest





PostPosted: Mon Jan 03, 2005 1:31 pm    Post subject: Re: Delphi Port of the SQL Anywhere ASA DBTools.H unit and Reply with quote



Mario:

Thanks for your response. I'll move this discussion over to the
"general" forum and will check out the links you provided.

SJS


Mario *LigH* Rohkrämer wrote:

Quote:
Dear Steven,

because you do not use dbExpress, the dbExpress group is probably not the
best matching one; instead, the "general" delphi database group might match
better.

Or, because you specifically want to use the Sybase ASA DBMS, you might also
be interested in the group
news://forums.sybase.com/sybase.public.sqlanywhere.general

Anyway: There already exists a project which directly communicates with
several Sybase DBMS, which is called "SaVcl":

http://savcl.narod.ru/en.html

But as far as I could find out, it does not use DBTools, instead it uses the
dblib#.dll / sadll##.dll directly.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.