Page 1 of 1

Errata in Make instructions?

Posted: Fri 03 May 2013 12:21
by Johan.Swart
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

Re: Errata in Make instructions?

Posted: Fri 03 May 2013 12:43
by stevel
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

Re: Errata in Make instructions?

Posted: Mon 06 May 2013 10:34
by Johan.Swart
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

Re: Errata in Make instructions?

Posted: Mon 06 May 2013 10:40
by stevel
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.

Re: Errata in Make instructions?

Posted: Mon 06 May 2013 10:44
by Johan.Swart
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

Re: Errata in Make instructions?

Posted: Fri 10 May 2013 14:46
by AndreyZ
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