mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Workaround a Delphi bug: BDS 2006 does not load dependencies for a package anymore. Regression introduced at the same time as "demand loading" feature was added. Dependencies will now only be loaded if LoadLibrary happens to be able to find needed BPLs in system path.
(If the My Documents folder starts breaking or disappearing from system path, we'll have to dump the files in system32 instead.)
This commit is contained in:
@@ -86,6 +86,14 @@ goto :start
|
||||
|
||||
:install
|
||||
echo Installing component %1, package %2%package_suffix%.bpl.
|
||||
rem
|
||||
rem Drop a copy of all BPLs in a directory which is in PATH.
|
||||
rem This is a workaround for bug #23225 in BDS 2006.
|
||||
rem (technically a regression since Delphi 7 worked OK.)
|
||||
rem
|
||||
rem see here: http://qc.borland.com/wc/qcmain.aspx?d=23225
|
||||
rem
|
||||
copy /y "%base_dir%\components\%1\build\*.bpl" "%USERPROFILE%\My Documents\Borland Studio Projects\Bpl\"
|
||||
%start_dir%\IdeBplInstall\IdeBplInstall.exe "%base_dir%\components\%1\build\%2%package_suffix%.bpl" "%1"
|
||||
set err=%errorlevel%
|
||||
echo.
|
||||
|
||||
Reference in New Issue
Block a user