Lazarus not compiling UNIDAC
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Lazarus not compiling UNIDAC
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);
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);
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
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.
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.
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Not Fixed!
Using latest build this is still broken! 3.60.0.15 26-Jan-11
This is annoying as you pledged this would be fixed!
This is annoying as you pledged this would be fixed!
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 =)
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
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
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
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
-
sir.wally.lewis
- Posts: 42
- Joined: Thu 25 Nov 2010 05:01
- Location: PS
Hello.AlexP wrote:Hello,
Support for Lazarus 0.9.30 will be included in the next build.
The next build will be available next week.
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 =)