🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3677

Re: how to compile and install Indy 10 in BCB

#3677
From: Damon Register
Date: Thu, 14 Jul 2005 18:35
46 lines
3044 bytes
On Thu, 14 Jul 2005 10:15:44 -0700, "Remy Lebeau \(TeamB\)"
<no.spam@no.spam.com> wrote:

>Then none of the packages registered any components.  The Core and Protocols
>packages have IdRegister... units that register the components.  Did you
>include those files when you created your new packages?  Otherwise, you
>would alternatively have to register the components yourself in the
>package's own Register() function.
in stumbling around some more I sort of learned that (or something
related).  I followed qyte's instructions in this thread.  With some
help from a coworker, I found that what I had was a runtime package
without the design time part.  After looking at
http://www.indyproject.org/Sockets/Docs/Indy10Install.iwp
again I found that there are IndyCore*.dpk and dclIndyCore*.dpk.
Using qyte's method, I did the same thing with the dclIndyCore60.dpk
and dclIndyProtocols60.dpk and got a lot farther than before.  
The only thing I didn't understand is why there is a dclIndyCore60.dpk
in both the \core and \protocols folder and each had a different list
of "contains".    For the dclIndyCore60 project I used the 
dclIndyCore60.dpk that was in core.  For the dclIndyProtocols60
I used these files

dclIndyCore61.res" FORMNAME="" UNITNAME="dclIndyCore61.res" 
dclIndyCore61.cpp
dclIndyCore61
IdRegisterCore.pas
IdAbout.pas
IdAntiFreeze.pas
IdCoreDsnRegister.pas
IdDsnBaseCmpEdt.pas
IdDsnCoreResourceStrings.pas
IdDsnPropEdBinding.pas
C:\Program Files\BORLAND\CBuilder6\Source\Toolsapi\designintf.pas

I added the designintf because I got a squawk at compile

The IdRegister.pas that you mentioned was not in the dclIndyCore60.dpk
that was in the \core folder but it was in the file that was in the
file that was in the \protocols folder.  The core one has 
IdRegisterCore.pas

I was able to build and install with all the components showing up on
the palette.  I tried making a simple program with just a TIdTCPClient
but got a compile error so it seems something still isn't right

Damon Register
Technical Details
Message-ID: <h3add15303bc2ts50r711p8jjqfcttk8ne@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42c25310$1@newsgroups.borland.com> <42c270dd@newsgroups.borland.com> <3gqcd15p233skvct1ea0s6pi2j2ev1v6o8@4ax.com> <42d69e9a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b44277b84bdb86be
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Damon Register <damon.w.register@lmco.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: how to compile and install Indy 10 in BCB
Date: Thu, 14 Jul 2005 14:35:19 -0400
Message-ID: <h3add15303bc2ts50r711p8jjqfcttk8ne@4ax.com>
References: <42c25310$1@newsgroups.borland.com> <42c270dd@newsgroups.borland.com> <3gqcd15p233skvct1ea0s6pi2j2ev1v6o8@4ax.com> <42d69e9a$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 192.31.106.194
X-Trace: newsgroups.borland.com 1121366126 192.31.106.194 (14 Jul 2005 11:35:26 -0700)
Lines: 47
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail