Debug with source code

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Debug with source code

Post by brace » Fri 24 Sep 2010 14:53

Cold you please tell me which is the procedure to install the source code too?


I need to debug inside sdac code. (I own the source code)

AndreyZ

Post by AndreyZ » Mon 27 Sep 2010 08:06

Hello,

You will find steps which describe ways to compile and install SDAC for Windows manually in the ReadmeSrc.txt file. This file is located in the root directory of SDAC.

brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Post by brace » Mon 27 Sep 2010 11:54

Thanks!!!

brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Post by brace » Thu 07 Oct 2010 09:25

I was able to install manually, anyway the info provided is almost correct:
Run your IDE and walk through the folowing steps:
1) Compile DAC run-time package (dacXX.dpk)
2) For Delphi 6 and higher compile DAC GUI related package (dacvclXX.dpk)
3) Compile DAC design-time package (dcldacXX.dpk)
4) Compile SDAC run-time package (sdacXX.dpk)
5) For Delphi 6 and higher compile SDAC GUI related package (sdacvclXX.dpk)
6) Compile and install SDAC design-time package (dclsdacXX.dpk)

You can find these packages in
Source\Delphi5\*.dpk - for Delphi 5
Source\CBuilder5\*.bpk - for C++ Builder 5
Source\Delphi6\*.dpk - for Delphi 6
Source\CBuilder6\*.bpk - for C++ Builder 6
Source\Delphi7\*.dpk - for Delphi 7
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for BDS 2006
Source\Delphi11\*.dpk - for RAD Studio 2007
Source\Delphi12\*.dpk - for RAD Studio 2009
Source\Delphi14\*.dpk - for RAD Studio 2010
Source\Delphi15\*.dpk - for RAD Studio XE

To compile SDAC based applications, add SDAC Source directory path
to the "Library Path".
Becuase
To compile SDAC based applications, add SDAC Source directory path
should be replaced with To complide SDAC Manually you need to add SDAC source path to library. If not DacReg will not compile.

So this is a suggestion to modify ReadMeSrc.txt
to the "Library Path".

brace
Posts: 227
Joined: Wed 14 Feb 2007 08:26

Post by brace » Thu 07 Oct 2010 11:27

One more question: to insatll Help I need to run the normal SDAC installer, but this will isntall the components again, which is the most elegant way to perform full installation with source code and allowing also demos, help and all the rest to be installed?

AndreyZ

Post by AndreyZ » Thu 07 Oct 2010 13:17

SDAC with sources includes help and demo. You can find SDAC Reference Manual (file SDAC.chm) in . And you can find SDACDemo in \Demos.

Also you can install SDAC in the following way:
- install SDAC Professional Edition without sources;
- unpack SDAC sources;
- add SDAC Source path to the "Library Path".

In this case you don't need to manually install SDAC packages in your IDE.

AndreyZ

Post by AndreyZ » Thu 07 Oct 2010 13:31

We will consider your suggestion about the ReadMeSrc.txt file.

Post Reply