DBF Direct Mode

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Atys
Posts: 16
Joined: Sun 15 Nov 2015 20:26

DBF Direct Mode

Post by Atys » Tue 11 Apr 2017 00:23

Buhhh,

So what is it? Why no description/manual/help over the new feature to find?

Uniconnection, DBF Provider, Direct Mode => Yes

If there is a dbf file in the data dir with spaces in it's name AV, bds needs cold restart.
Trying to open a table, clipper dbf files, ADO works fine with dbfIII or IV setting,
Unidac Direct mode:
"vtable constructor failed"

No clue where it comes from, nothing in the sources, web search engine gives sqlite pages back for this
error.


Edit: Wow, i managed to get it work. Moved out the not welcomed tables from the dir.
A tiny bit slower as ADO (non direct mode), really just a tiny bit, but _hopefully_ it's independent from the system(/BDE) now.

How can i override the <used charset / missing charset indicator in the DBF>?

Btw. Direct mode -> true / Specific options / Info -> AV *odbc*.bpl

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: DBF Direct Mode

Post by MaximG » Wed 12 Apr 2017 13:47

Thank you for the information. Please, specify what you mean by asking the question:

«How can i override the <used charset / missing charset indicator in the DBF>?»

Probably, you will provide a more detailed description of the functionality you are interested in, in order for us to help you make an optimal decision using UniDAC

Atys
Posts: 16
Joined: Sun 15 Nov 2015 20:26

Re: DBF Direct Mode

Post by Atys » Sun 28 May 2017 21:48

AFAIK:
Normally, DBF's having a charset/language marker/indicator byte/word in the .dbf file itself.
Can't tell you the proper name of it anymore.
This setting is for choosing the right charset for displaying/using the database file.
If it's empty (0) there should be a setting to override that like BDE does.
Nobody want's to do a manual translation in the client code.

Regards

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: DBF Direct Mode

Post by MaximG » Tue 30 May 2017 06:32

Thank you for the information. We will consider a possibility of implementing this behavior in one of the next versions. We will inform you about the results as soon as we get them.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: DBF Direct Mode

Post by MaximG » Wed 16 Aug 2017 09:02

Thank you for the information. We have reproduced the problem and fixed the bug. The fix will be included in the next UniDAC build. Currently, we can send you a night build of UniDAC with the fix. For this, please specify your license number and the exact version of Delphi you are using via the e-support form ( https://www.devart.com the "Support"\"Request Support" menu)

Post Reply