Errata in Make instructions?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Johan.Swart
Posts: 15
Joined: Tue 05 Jan 2010 11:33
Location: South Africa

Errata in Make instructions?

Post by Johan.Swart » Fri 03 May 2013 12:21

Hi,

I have
RAD Studio XE2 Enterprise
on
Windows 7 (64bit)
and am installing
UniDAC 5.0.1 Professional with source.

I'm following the instructions as in ReadmeSrc.html and found the following suspect line.
This is for installing RAD Studio XE2.
Please confirm if this is correct.

Step 4:
.. If you are using 64-bit Windows, copy UniDAC\Bin\Delphi16\Win32\*.bpl files to the SysWOW64 directory and UniDAC\Bin\Delphi16\Win64\*.bpl files to the System32 directory.

Step 6:
.. For this, open the "Component->Install Packages" Embarcadero RAD Studio XE2 main menu and add the System32\dclunidac160.bpl (if you are using 32-bit Windows) or SysWOW64\dclunidac160.bpl (if you are using 64-bit Windows) package using the Add button.

Should step 4 not read:
.. If you are using 64-bit Windows, copy UniDAC\Bin\Delphi16\Win32\*.bpl files to the System32 directory and UniDAC\Bin\Delphi16\Win64\*.bpl files to the SysWOW64 directory.

Thanx,
Johan

stevel
Posts: 125
Joined: Tue 02 Nov 2010 19:01

Re: Errata in Make instructions?

Post by stevel » Fri 03 May 2013 12:43

Hi Johan,

If you just use the SETUP.EXE, it will compile everything, deploy all the files to the correct directories and make the correct library path settings in your IDE, and everything working nicely. Highly recommended to use the installer.

Bests,
Steve

Johan.Swart
Posts: 15
Joined: Tue 05 Jan 2010 11:33
Location: South Africa

Re: Errata in Make instructions?

Post by Johan.Swart » Mon 06 May 2013 10:34

Hi all,

Just an update.

I uninstalled all, then using the installers installed the components, then included the source directories in the library path and browsing path.

This seems to work fine.

Thanx,
Johan

stevel
Posts: 125
Joined: Tue 02 Nov 2010 19:01

Re: Errata in Make instructions?

Post by stevel » Mon 06 May 2013 10:40

Its recommended not to include the source (*.pas) directories in the library path, because then everytime you 'build' your project, it will compile all the *.pas files to DCUs again, which takes time and is hard on your disk drive.

Instead, only include the path to the *.DCU fils in the library path (the SETUP.EXE installer already does this), and include the source (*.pas) directories in the search (or browsing) path so that you can open a source file by Ctrl-click on its name in the editor.

Johan.Swart
Posts: 15
Joined: Tue 05 Jan 2010 11:33
Location: South Africa

Re: Errata in Make instructions?

Post by Johan.Swart » Mon 06 May 2013 10:44

Thanx Steve!

That's exactly what I wanted to do. I'll remove the paths from the library and only include it in the Browsing.

Regards,
Johan

AndreyZ

Re: Errata in Make instructions?

Post by AndreyZ » Fri 10 May 2013 14:46

There are no errors in the instructions. On Windows x64, the SysWOW64 directory contains x32 libraries, the System32 directory contains x64 libraries. For more information, please refer to

Code: Select all

http://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx

Post Reply