Thread View: borland.public.cppbuilder.internet.socket
8 messages
8 total messages
Started by Koen
Thu, 22 Feb 2007 14:07
Installing Indy10 on BCB6
Author: Koen
Date: Thu, 22 Feb 2007 14:07
Date: Thu, 22 Feb 2007 14:07
24 lines
1699 bytes
1699 bytes
Hello, I am not able to install the packages from indy10 into bcb6. These are the steps I followed: (i still had indy8 installed) 1) I first removed indy8 via the BCB installer program 2) I removed all indy files, as stated on http://www.indyproject.org/KB/ 3) I downloaded the indy10 zip file from http://indy.fulgan.com/ (timestamp 21/02 23:39), and also indy9 for the use of computil.exe 4) I executed fullc6.bat, everything went fine (except of the fact that no rsp-files could be copied/deleted, because no such files exist) 5) I now have 5 indy-packages in de C6-folder, and I think 2 of them are design packages (dcl*.bpl) However, when I try to install the packages into bcb, I get following message: "Package XXX can't be installed because it is not a design time package. I have tried installing all 5 packages (although I only should install the dcl*-packages), and I always get those errors. Somebody got an idea how to fix this? regards, Koen
Re: Installing Indy10 on BCB6
Author: Eduardo Jauch
Date: Thu, 22 Feb 2007 17:15
Date: Thu, 22 Feb 2007 17:15
15 lines
1365 bytes
1365 bytes
Koen escreveu: > I have tried installing all 5 packages (although I only should install the > dcl*-packages), and I always get those errors. > Only 2 of them are really bpl files. The others only god knows... > Somebody got an idea how to fix this? > No. All I tried failed. One question... The hpp files where generated? Because if not, you can istall, but will not be able to use Indy. :)
Re: Installing Indy10 on BCB6
Author: Koen
Date: Fri, 23 Feb 2007 08:12
Date: Fri, 23 Feb 2007 08:12
20 lines
1243 bytes
1243 bytes
Eduardo Jauch wrote: > Only 2 of them are really bpl files. The others only god knows... > Normally, 2 of them should be design-time packages which you can install. The other 3 are runtime packages. > One question... > The hpp files where generated? > Because if not, you can istall, but will not be able to use Indy. :) > Yes, the headers are generated. I am able to create Indy-components at runtime, but not at design-time. regards, Koen
Re: Installing Indy10 on BCB6
Author: Eduardo Jauch
Date: Fri, 23 Feb 2007 15:06
Date: Fri, 23 Feb 2007 15:06
26 lines
1866 bytes
1866 bytes
Koen escreveu: > Normally, 2 of them should be design-time packages which you can install. > The other 3 are runtime packages. > Good. :) The snapshot I tested created these files, but they weren't runtime packages... > Yes, the headers are generated. I am able to create Indy-components at > runtime, but not at design-time. My problem was that I have the design files, but awlawys got erros on link... And the obj, hpp, etc were not generated :) Take a look on the directories. You will seee (problably) more bpl and bpi files... These must be correct (for me they were). Interesting... They must be change FULLC6.bat, because until 1 1/2 weeks ago the hpp files weren't generated... I'll take a look on this soon :) Remy could answer you more precisily anyway for what is going on... Bye! :)
Re: Installing Indy10 on BCB6
Author: Frank Burleigh
Date: Sat, 24 Feb 2007 17:21
Date: Sat, 24 Feb 2007 17:21
33 lines
2062 bytes
2062 bytes
Koen wrote: > Eduardo Jauch wrote: > > >> Only 2 of them are really bpl files. The others only god knows... >> > > Normally, 2 of them should be design-time packages which you can install. > The other 3 are runtime packages. > >> One question... >> The hpp files where generated? >> Because if not, you can istall, but will not be able to use Indy. :) >> > > Yes, the headers are generated. I am able to create Indy-components at > runtime, but not at design-time. > > regards, > > Koen Several of us seem to have worked on the Indy 10 / C++ problem. I'm working in BDS2006 C++. I've been able to compile the BPLs and install the designtime packages. But I don't see how it's possible to build a program since the generated HPPs declare this type: TIdIPv6Address = array [0..7] of word; A number of functions return TIdIPv6Address. The C++ compiler isn't happy about this type, so grinds to a halt on the HPPs. My Indy usage pattern is to make the objects at runtime -- I more or less completely ignore the designtime approach.
Re: Installing Indy10 on BCB6
Author: Remy Lebeau (TeamB)
Date: Sat, 24 Feb 2007 20:39
Date: Sat, 24 Feb 2007 20:39
35 lines
2015 bytes
2015 bytes
"Frank Burleigh" <burleigh@indiana.edu> wrote in message
news:45e073c0$1@newsgroups.borland.com...
> But I don't see how it's possible to build a
> program since the generated HPPs declare this type:
>
> TIdIPv6Address = array [0..7] of word;
>
> A number of functions return TIdIPv6Address.
The only functions/methods that return TIdIPv6Address are the
following:
BytesToIPv6()
IPv6ToIdIPv6Address()
TIdStack.HostToNetwork(TIdIPv6Address)
TIdStack.NetworkToHost(TIdIPv6Address)
TIdBuffer.ExtractToIPv6()
The likelihood of most users actually using any of those is minimal.
Besides, none of those are declared to actually use TIdIPv6Address
specifically in C++ anyway. Borland translates them to use Word
pointers instead.
The only property that returns a TIdIPv6Address is the
TIdIPAddress.IPv6 property, which is ifdef'ed out for C++, since
arrays can't be used for properties.
> The C++ compiler isn't happy about this type
Please be more specific.
Gambit
Re: Installing Indy10 on BCB6
Author: Frank Burleigh
Date: Mon, 26 Feb 2007 19:05
Date: Mon, 26 Feb 2007 19:05
71 lines
3393 bytes
3393 bytes
Remy Lebeau (TeamB) wrote: > "Frank Burleigh" <burleigh@indiana.edu> wrote in message > news:45e073c0$1@newsgroups.borland.com... > >> But I don't see how it's possible to build a >> program since the generated HPPs declare this type: >> >> TIdIPv6Address = array [0..7] of word; >> >> A number of functions return TIdIPv6Address. > > The only functions/methods that return TIdIPv6Address are the > following: > BytesToIPv6() > IPv6ToIdIPv6Address() > TIdStack.HostToNetwork(TIdIPv6Address) > TIdStack.NetworkToHost(TIdIPv6Address) > TIdBuffer.ExtractToIPv6() With this included: #include <IdSMTP.hpp> compilation of my code produces: [C++ Error] Idglobal.hpp(426): E2091 Functions cannot return arrays or functions [C++ Error] Idglobal.hpp(466): E2091 Functions cannot return arrays or functions [C++ Error] Idstack.hpp(176): E2091 Functions cannot return arrays or functions [C++ Error] Idstack.hpp(183): E2091 Functions cannot return arrays or functions [C++ Error] Idbuffer.hpp(147): E2091 Functions cannot return arrays or functions > The likelihood of most users actually using any of those is minimal. > Besides, none of those are declared to actually use TIdIPv6Address > specifically in C++ anyway. Borland translates them to use Word > pointers instead. I understand. But still, the functions and methods are declared in the HPP files, so C++ is upset. Is there a missing pragma of some sort that would produce the conversion to word pointer? > The only property that returns a TIdIPv6Address is the > TIdIPAddress.IPv6 property, which is ifdef'ed out for C++, since > arrays can't be used for properties. That at least has not been a problem. >> The C++ compiler isn't happy about this type > > Please be more specific. E2091. A function was defined to return an array or a function. Check to see if either the intended return was a pointer to an array or function (and perhaps the * is missing) or if the function definition contained a request for an incorrect datatype. ;-) I could of course operate in the library code. But that wouldn't be the right approach so it's better if I seek your suggestions. > > Gambit Thanks Remy.
Re: Installing Indy10 on BCB6
Author: Koen
Date: Thu, 01 Mar 2007 08:00
Date: Thu, 01 Mar 2007 08:00
22 lines
1559 bytes
1559 bytes
wrote: >> 5) I now have 5 indy-packages in de C6-folder, and I think 2 of them >> are design packages (dcl*.bpl) However, when I try to install the >> packages into >> bcb, I get following message: "Package XXX can't be installed because >> it is >> not a design time package. >> > > I had the same problem. Therefore I used fulld6.bat in addition and > took the *.bpl from the d6-folder and the rest from the c6-folder. > This seemed to work. > > Thanks for the advice, this indeed worked. I have created a custom fullc6.bat file, that combines both batch-files. It also creates lib-files. If you are interested, I have posted it on atozedsoftware.indy.general (Message-ID: Xns98E579567CAFCkoenhacom@87.106.16.84). Koen
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads