Article View: borland.public.cppbuilder.internet.socket
Article #656Re: Update Indy10 in C++Builder 2007
From: roladdon
Date: Tue, 18 Dec 2007 00:51
Date: Tue, 18 Dec 2007 00:51
116 lines
4626 bytes
4626 bytes
OK - I did a manual compile - I changed one of the existing .bat files (see
source code below)
(it looks like it worked - but I havn't installed the components into
CBuilder2007 yet)
I am looking at the difference between what's in
C:\Program Files\CodeGear\RAD Studio\5.0\bin
and what I generated with my fullc12.bat file
C:\Program Files\CodeGear\RAD Studio\5.0\bin
also contains:
deployindy100.bpl, indy100.bpl and dclindy100.bpl
Do I need theese ?
and if so - How do I generate them?
thanks,
Roland
FileName: fullc12.bat
________________________________________________________
@echo off
if (%1)==() goto test_command
if (%1)==(start) goto start
goto endok
:test_command
if (%COMSPEC%)==() goto no_command
%COMSPEC% /E:9216 /C %0 start %1 %2 %3
goto endok
:no_command
echo No Command Interpreter found
goto endok
:start
call clean.bat
REM computil SetupC6
SET NDC12=C:\Progra~1\CodeGear\RADStu~1\5.0
SET NDWINSYS=C:\WINDOWS\system32
if not exist ..\C120\*.* md ..\C120 >nul
if exist ..\C120\*.* call clean.bat ..\C120\
if (%NDC12%)==() goto enderror
if (%NDWINSYS%)==() goto enderror
ECHO ****************
ECHO Compile System
ECHO ****************
CD System
if not exist IndySystem120.res Copy IndySystem100.res IndySystem120.res
%NDC12%\Bin\dcc32.exe IndySystem120.dpk /Oobjs /m /h /w
/N..\..\C120 -$d-l-n+p+r-s-t-w- %2 %3 %4
if errorlevel 1 goto enderror
ECHO Compile System Success
copy *120.bpl ..\..\C120 >nul
copy *120.dcp ..\..\C120 >nul
REM copy ..\..\C120\IndySystem120.bpl %NDWINSYS% >nul
CD ..
ECHO **************
ECHO Compile Core
ECHO **************
CD Core
if not exist IndyCore120.res Copy IndyCore100.res IndyCore120.res
%NDC12%\Bin\dcc32.exe IndyCore120.dpk /Oobjs /m /h /w /N..\..\C120
/U..\..\C120 -$d-l-n+p+r-s-t-w- %2 %3 %4
if errorlevel 1 goto enderror
if not exist dclIndyCore120.res Copy dclIndyCore100.res dclIndyCore120.res
%NDC12%\Bin\dcc32.exe dclIndyCore120.dpk /Oobjs /m /h /w /z /N..\..\C120
/U..\..\C120 -$d-l-n+p+r-s-t-w- %2 %3 %4
if errorlevel 1 goto enderror
copy *120.bpl ..\..\C120 >nul
copy *120.dcp ..\..\C120 >nul
REM copy ..\..\C120\IndyCore120.bpl %NDWINSYS% >nul
REM copy ..\..\C120\dclIndyCore120.bpl %NDWINSYS% >nul
CD ..
ECHO *******************
ECHO Compile Protocols
ECHO *******************
CD Protocols
ECHO ************************
ECHO IdCompressionIntercept
ECHO ************************
%NDC12%\Bin\dcc32.exe -B -M -N..\..\C120 /U..\..\C120 -H -W -Z
IdCompressionIntercept.pas -$d-l-
if errorlevel 1 goto enderror
if not exist IndyProtocols120.res Copy IndyProtocols100.res
IndyProtocols120.res
%NDC12%\Bin\dcc32.exe IndyProtocols120.dpk /Oobjs /m /h /w /N..\..\C120
/U..\..\C120 -$d-l-n+p+r-s-t-w- %2 %3 %4
if errorlevel 1 goto enderror
if not exist dclIndyProtocols120.res Copy dclIndyProtocols90.res
dclIndyProtocols120.res
%NDC12%\Bin\dcc32.exe dclIndyProtocols120.dpk /Oobjs /m /h /w /N..\..\C120
/U..\..\C120 -$d-l-n+p+r-s-t-w- %2 %3 %4
if errorlevel 1 goto enderror
copy *120.bpl ..\..\C120 >nul
copy *120.dcp ..\..\C120 >nul
REM copy ..\..\C120\IndyProtocols120.bpl %NDWINSYS% >nul
REM copy ..\..\C120\dclIndyProtocols120.bpl %NDWINSYS% >nul
CD ..
goto endok
:enderror
CD ..
call clean.bat
echo Error!
:endok
@pause
Technical Details
Message-ID:
<476719a0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4765b072$1@newsgroups.borland.com> <4766b27c$1@newsgroups.borland.com> <4766c462$1@newsgroups.borland.com> <4766ce43@newsgroups.borland.com> <4766f66e$1@newsgroups.borland.com> <476700ff$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7a755873c3a4c5bd X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "roladdon" <roladdon@PutMyServerHere.ca> From: "roladdon" <roladdon@PutMyServerHere.ca> Newsgroups: borland.public.cppbuilder.internet.socket References: <4765b072$1@newsgroups.borland.com> <4766b27c$1@newsgroups.borland.com> <4766c462$1@newsgroups.borland.com> <4766ce43@newsgroups.borland.com> <4766f66e$1@newsgroups.borland.com> <476700ff$3@newsgroups.borland.com> Subject: Re: Update Indy10 in C++Builder 2007 Date: Mon, 17 Dec 2007 19:51:45 -0500 Lines: 118 Organization: AddOn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.95.230.116 Message-ID: <476719a0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1197939104 65.95.230.116 (17 Dec 2007 16:51:44 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!nx01.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 4410