Lazarus not compiling UNIDAC

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Lazarus not compiling UNIDAC

Post by sir.wally.lewis » Wed 15 Dec 2010 05:23

I have need to change the source of MemData.pas to compile in Lazarus.
Below are my changes.

Kind Regards,

Robert.

+++ /Devart/UniDAC/Source/MemData.pas Wed Dec 15 14:57:26 2010
@@ -4291,13 +4291,16 @@
{$IFNDEF CLR}
var
d: TDateTime;
+ str : ShortString;
+
{$ENDIF}
begin
if VarIsStr(V) then
{$IFDEF CLR}
V := TDateTime(V);
{$ELSE}
- if TryStrToDateTime(V, d) then
+ str := V;
+ if TryStrToDateTime(str, d) then
V := d
else
V := VarToDateTime(V);

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 15 Dec 2010 13:13

Hello

Please specify your Lazarus version and your OS.

sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Post by sir.wally.lewis » Wed 15 Dec 2010 22:24

Hi,

I am using
Daily Snapshot

Lazarus-0.9.29.27658-fpc-2.4.3-20101012-win32.exe

Lazarus and Free Pascal is a constantly changing source base.
So I understand why it is not compiling now.

This was just to notify you of changes required for compatibility with
the almost latest versions.

I also gave you the required code to allow it to compile.

Kind Regards,


Robert.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 16 Dec 2010 10:55

Hello,

Thank you for the information.
We have reproduced the problem.
It will be fixed in the next build.

sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Not Fixed!

Post by sir.wally.lewis » Mon 28 Feb 2011 06:29

Using latest build this is still broken! 3.60.0.15 26-Jan-11

This is annoying as you pledged this would be fixed!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 28 Feb 2011 13:50

Hello,

We will add all features and fixes immediately after official release of Lazarus 0.9.30.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 14 Mar 2011 11:00

Hello,

We have included this fix in the current build.
Please download the latest version of UniDAC (3.60.0.16).

dionic
Posts: 11
Joined: Tue 12 Apr 2011 05:16

Post by dionic » Tue 12 Apr 2011 05:30

Hello.

I download latest demo version of UNIDAC components (3.60.0.16) and try to install this components in windows version Lazarus 0.9.30. But when i add dclunidac package and click to install button i see this error:

"dac10.pas(10,5) Fatal: Can't find unit CRAccess used by dac10".

Please, help to install this components. I want to try how it works...

Sorry for my English, i am russian =)

sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Post by sir.wally.lewis » Tue 12 Apr 2011 05:35

I use unidac with lazarus.
It works well.
However you must purchase the full source edition.
As the web site states clearly.

dionic
Posts: 11
Joined: Tue 12 Apr 2011 05:16

Post by dionic » Tue 12 Apr 2011 05:49

I think that you are rigth when said about full version. And full version with source install successfully. I am sure.
But i want to try some functions of UNIDAC components that critical for my application before buy it.

sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Post by sir.wally.lewis » Tue 12 Apr 2011 05:55

Then you must use a version from below list to do this with :

Embarcadero RAD Studio XE
Embarcadero Delphi XE for Win32
Embarcadero C++Builder XE
Embarcadero RAD Studio 2010
Embarcadero Delphi 2010 for Win32
Embarcadero C++Builder 2010
CodeGear RAD Studio 2009
CodeGear Delphi 2009 for Win32
CodeGear C++Builder 2009
CodeGear RAD Studio 2007
CodeGear Delphi 2007 for Win32
CodeGear C++Builder 2007
Turbo Delphi Professional
Turbo Delphi for .NET Professional
Turbo C++ Professional
Borland Developer Studio 2006 including support of
Delphi for Win32, Delphi for .NET, and C++Builder personalities
Borland Delphi 2005
Borland Delphi 7
Borland Delphi 6 (Requires Update Pack 2 – Delphi 6 Build 6.240)
Borland C++Builder 6

dionic
Posts: 11
Joined: Tue 12 Apr 2011 05:16

Post by dionic » Tue 12 Apr 2011 06:27

One more question.

Is Unidac or ODAC components successfully work under linux with Lazarus 0.9.30?

sir.wally.lewis
Posts: 42
Joined: Thu 25 Nov 2010 05:01
Location: PS

Post by sir.wally.lewis » Tue 12 Apr 2011 06:32

I know UniDAC does.
I do not know if ODAC does.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 12 Apr 2011 07:01

Hello,

Support for Lazarus 0.9.30 will be included in the next build.
The next build will be available next week.

dionic
Posts: 11
Joined: Tue 12 Apr 2011 05:16

Post by dionic » Thu 21 Apr 2011 03:31

AlexP wrote:Hello,

Support for Lazarus 0.9.30 will be included in the next build.
The next build will be available next week.
Hello.

I want to buy UniDac components for use in my applications in Lazarus under Linux system.
You said, that Support for Lazarus 0.9.30 will be included in the next build on the next week.

When the next build of UniDac components is available?

Sorry for my English =)

Post Reply