Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing Indy 10 for C++ 2006

67 views
Skip to first unread message

Martin

unread,
Jun 16, 2007, 1:43:56 PM6/16/07
to
Hello,

I have tried to install the latest development snapshot of indy 10 on C++
Builder 2006, but it looks like that this is not possible.
It would be fine if there would be a working step-by-step guide, because
there is lot of confusion in the newsgroups.

Regards, Martin


Remy Lebeau (TeamB)

unread,
Jun 16, 2007, 2:04:16 PM6/16/07
to

"Martin" <sp...@styletronic.at> wrote in message
news:4674...@newsgroups.borland.com...

> I have tried to install the latest development snapshot of
> indy 10 on C++ Builder 2006, but it looks like that this
> is not possible.

Yes, it is. What exactly are you having a problem with?


Gambit


Martin

unread,
Jun 16, 2007, 5:12:38 PM6/16/07
to
I open and compile these projects:

1) Indy10System100.bdsproj
2) Indy10Core100.bdsproj
3) Indy10Protocol100.bdsproj
4) dclIndyProtocol100.bdsproj
5) dclIndyCore100.bdsproj

Compiling this projects works, but installing is not possible:

When i want to install 4) i get this message:
Der Prozedureinsprungpunkt "@Idhmac@initialization$qqrv" wurde in der DLL
"IndyProtocols100.bpl" nicht gefunden

When i want to install 5) i get this message:
Der Prozedureinsprungpunkt "@Idglobal@IsNumeric$qqrxc" wurde in der DLL
"IndySystem100.bpl" nicht gefunden

Afterwards i tried to enable the linker option: "Alle C++ Builder Dateien
erzeugen" for all projects,
but then it is not possible to compile 2) because of this error:
[Pascal Fehler] IdIPAddress.pas(1): E1025 Sprach-Feature wird nicht
unterstützt: 'Eigenschaft vom Typ Array'

Where is the problem?


Remy Lebeau (TeamB)

unread,
Jun 16, 2007, 6:55:27 PM6/16/07
to

"Martin" <sp...@styletronic.at> wrote in message
news:4674...@newsgroups.borland.com...

> I open and compile these projects:

You did not remove any of the old files first.

> When i want to install 4) i get this message:
> Der Prozedureinsprungpunkt "@Idhmac@initialization$qqrv"
> wurde in der DLL "IndyProtocols100.bpl" nicht gefunden

That is a result of leaving the old DCUs on the machine

> When i want to install 5) i get this message:
> Der Prozedureinsprungpunkt "@Idglobal@IsNumeric$qqrxc"
> wurde in der DLL "IndySystem100.bpl" nicht gefunden

Same thing.

> Afterwards i tried to enable the linker option: "Alle C++ Builder
> Dateien erzeugen" for all projects, but then it is not possible to
> compile 2) because of this error: [Pascal Fehler]
IdIPAddress.pas(1):
> E1025 Sprach-Feature wird nicht unterstützt: 'Eigenschaft vom Typ
Array'

Since you are compiling the packages manually instead of using the
command-line scripts, you will have to $DEFINE BCB somewhere in your
code.

Gambit


Martin

unread,
Jun 16, 2007, 8:55:10 PM6/16/07
to
Ok - i re-installed BDS2006 without indy components, so i had a clean
system.

After that i compiled computil.exe and started fulld100.bat.
For the next step i compiled IndyProtocols100.bdsproj and
dclIndyProtocols100.bdsproj.
Now i was able to install dclIndyCore100.bpl and dclIndyProtocols100.bpl.

For the result i could see all indy10 components under the delphi32
personality.
Under the C++ personality i am missing all IndyCore components like
"TidTCPServer, TiDUDPServer, ...", except TIdAntiFreeze.
The IndyProtocols components are all visible.

Maybe there are is something missing when compiling IndyCore100 for C++ with
fulld100.bat.
When compiling manually with IndyCore100.bdsproj and the linker option for
"all c++ files" enabled,
i get the error message as described in my previous posting.

Thanks in advance for your help!

Martin


Markus Donath

unread,
Jun 18, 2007, 10:52:22 AM6/18/07
to
Martin wrote:
> Ok - i re-installed BDS2006 without indy components, so i had a clean
> system.

Sure? Also cleaned Windows\System32 path to get rid of Indy stuff
completely?

Markus

Martin

unread,
Jun 19, 2007, 4:12:07 PM6/19/07
to
Is there anybody out there who has the latest indy 10 version running under
C++ Builder 2006, because i dont believe that it is possible to install at
the moment!
Maybe it is an issue of the current development snapshot.

It would be better for all developers if there would be an improved support
for installation procedure instead of developing new indy features.

Best regards
Martin


Markus Donath

unread,
Jun 20, 2007, 2:37:47 AM6/20/07
to

Of course, I succeeded in installing current Indy10 snapshot with C++
Builder 2006.

Markus

RH

unread,
Jun 26, 2007, 5:13:42 AM6/26/07
to

Hi Martin

I posted the following up in the atozedsoftware.indy.general a while
back. It should work with the latest snapshot of Indy 10.

Make sure you remove any trace of older Indy 10 files that may be in
your path before installing the core and protocols packages into the IDE.

Copy the following and paste it to a batch file, and remember to modify
the Computil.dpr accordingly (you need to add NDC10 and SetupC10 to it).


RH

REM ******************** START OF Fullc10.bat FILE ***************
@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
computil SetupC10
if exist setenv.bat call setenv.bat
if not exist ..\C10\*.* md ..\C10 >nul
if exist ..\C10\*.* call clean.bat ..\C10\
if (%NDC10%)==() goto enderror

REM ***************************************************
REM Compile Runtime Package IndySystem10
REM ***************************************************
cd System
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndySystem100.dpk /O..\Lib\System\objs /DBCB /M /H
/W /JPHNE /JL /N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndySystem100.dpk /O..\Lib\System\objs /DBCB
/M /H /W /N. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndySystem100.lib +%%f
/P64 > nul

REM ***************************************************
REM Clean-up IndySystem100
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul

REM ***************************************************
REM Compile Runtime Package IndyCore60
REM ***************************************************
cd ..\Lib\Core
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H /W
/JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H
/W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndyCore100.lib +%%f /P64
> nul
del *.obj > nul

REM ***************************************************
REM Compile Designtime Package dclIndyCore100
REM ***************************************************
%NDC10%\bin\dcc32.exe dclIndyCore100.dpk /O..\Lib\Core\objs /DBCB /M /H
/W /Z /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe dclIndyCore100.dpk /O..\Lib\Core\objs /DBCB /M
/H /W /Z /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe dclIndyCore100.lib +%%f
/P64 > nul

REM ***************************************************
REM Clean-up IndyCore60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul

REM ***************************************************
REM Compile Runtime Package IndyProtocols100
REM ***************************************************
cd ..\Lib\Protocols
copy *.pas ..\..\C10
copy *.dpk ..\..\C10
copy *.obj ..\..\C10
copy *.inc ..\..\C10
copy *.res ..\..\C10
copy *.dcr ..\..\C10
copy *.rsp ..\..\C10
if not exist .\objs\*.* md .\objs >nul
cd ..\..\C10
%NDC10%\bin\dcc32.exe IndyProtocols100.dpk /O..\Lib\Protocols\objs /DBCB
/M /H /W /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe IndyProtocols100.dpk /O..\Lib\Protocols\objs
/DBCB /M /H /W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror

REM ***************************************************
REM Delete third-party .obj files
REM before compiling the .lib file
REM ***************************************************
del adler32.obj > nul
del compress.obj > nul
del crc32.obj > nul
del deflate.obj > nul
del example.obj > nul
del gzio.obj > nul
del infback.obj > nul
del inffast.obj > nul
del inflate.obj > nul
del inftrees.obj > nul
del minigzip.obj > nul
del trees.obj > nul
del uncompr.obj > nul
del zutil.obj > nul

REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe IndyProtocols100.lib +%%f
/P64 > nul
del *.obj > nul

REM ***************************************************
REM Compile Designtime Package dclIndyProtocols100
REM ***************************************************
%NDC10%\bin\dcc32.exe dclIndyProtocols100.dpk /O..\Lib\Protocols\objs
/DBCB /M /H /W /JPHNE /JL /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
if errorlevel 1 goto enderror
REM %NDC10%\bin\dcc32.exe dclIndyProtocols100.dpk
/O..\Lib\Protocols\objs /DBCB /M /H /W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4
REM if errorlevel 1 goto enderror
REM for %%f in (*.obj) do %NDC10%\bin\tlib.exe dclIndyProtocols100.lib
+%%f /P64 > nul

REM ***************************************************
REM Clean-up IndyProtocols60
REM ***************************************************
del *.dcu > nul
del *.pas > nul
del *.dpk > nul
del *.obj > nul
del *.inc > nul
del *.res > nul
del *.dcr > nul
del *.rsp > nul
cd ..\Lib
goto endok

:enderror
call ..\Lib\clean.bat
cd ..\Lib
echo Error!

:endok

REM ******************** END OF FullC10.bat FILE ***********************

0 new messages