🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
10 messages
10 total messages Started by sam Sat, 30 Dec 2006 07:41
Process to compile and install it manually Indy 9
#1555
Author: sam
Date: Sat, 30 Dec 2006 07:41
2 lines
1133 bytes
Like many people I use the free Turbo C++ and try to use Indy 9 components.
Where can I find the process to to compile and install it manually Indy 9 ? 
Re: Process to compile and install it manually Indy 9
#1556
Author: Remy Lebeau (TeamB)
Date: Sat, 30 Dec 2006 09:35
13 lines
1300 bytes
"sam" <nospam@nospam.com> wrote in message
news:45961809@newsgroups.borland.com...

> Like many people I use the free Turbo C++ and try to use Indy 9
> components. Where can I find the process to to compile and install
> it manually Indy 9 ?

You cannot install any third-party components into the free version of
Turbo.  You need the Pro version in order to do that.


Gambit
Re: Process to compile and install it manually Indy 9
#1557
Author: sam
Date: Sat, 30 Dec 2006 09:45
24 lines
1734 bytes
> You cannot install any third-party components into the free version of
> Turbo.  You need the Pro version in order to do that.
Okey I know that but if I want to use it at run time ?
It seems that I need the lib files, so what is the process for build them ?

Sam
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a �crit dans le message de news: 
45963348$1@newsgroups.borland.com...
>
> "sam" <nospam@nospam.com> wrote in message
> news:45961809@newsgroups.borland.com...
>
>> Like many people I use the free Turbo C++ and try to use Indy 9
>> components. Where can I find the process to to compile and install
>> it manually Indy 9 ?
>
> You cannot install any third-party components into the free version of
> Turbo.  You need the Pro version in order to do that.
>
>
> Gambit
>
>
> 
Re: Process to compile and install it manually Indy 9
#1558
Author: Remy Lebeau (TeamB)
Date: Sat, 30 Dec 2006 10:04
20 lines
1653 bytes
"sam" <nospam@nospam.com> wrote in message
news:45963532@newsgroups.borland.com...

> Okey I know that but if I want to use it at run time ?

Then your only option is to first compile Indy into a .lib or .dll
using a different IDE/compiler, and then have your Turbo project load
it accordingly.

> It seems that I need the lib files, so what is the process for build
them ?

You cannot build them with Turbo.  Besides, Turbo didn't even exist
when Indy 9 was last updated, so there are no build files for it
anyway.  The last version supported by Indy 9 was BCB 6.  imply run
the fullc6.bat script to compile Indy using BCB6's compiler.


Gambit
Re: Process to compile and install it manually Indy 9
#1559
Author: sam
Date: Sat, 30 Dec 2006 10:38
31 lines
2189 bytes
>  The last version supported by Indy 9 was BCB 6.  imply run
> the fullc6.bat script to compile Indy using BCB6's compiler.
Wich Indy version is compliant with BCB 5 that I have ? and is it even still 
available ?

Sam

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a �crit dans le message de news: 
459639f8$1@newsgroups.borland.com...
>
> "sam" <nospam@nospam.com> wrote in message
> news:45963532@newsgroups.borland.com...
>
>> Okey I know that but if I want to use it at run time ?
>
> Then your only option is to first compile Indy into a .lib or .dll
> using a different IDE/compiler, and then have your Turbo project load
> it accordingly.
>
>> It seems that I need the lib files, so what is the process for build
> them ?
>
> You cannot build them with Turbo.  Besides, Turbo didn't even exist
> when Indy 9 was last updated, so there are no build files for it
> anyway.  The last version supported by Indy 9 was BCB 6.  imply run
> the fullc6.bat script to compile Indy using BCB6's compiler.
>
>
> Gambit
>
> 
Re: Process to compile and install it manually Indy 9
#1560
Author: Remy Lebeau (TeamB)
Date: Sat, 30 Dec 2006 21:35
11 lines
1229 bytes
"sam" <nospam@nospam.com> wrote in message
news:45964193@newsgroups.borland.com...

> Wich Indy version is compliant with BCB 5 that I have ? and is it
> even still available ?

Indy 9 supports BCB 5 as well.


Gambit
Re: Process to compile and install it manually Indy 9
#1561
Author: sam
Date: Sun, 31 Dec 2006 07:14
33 lines
2031 bytes
Remy, I have create a new lib project for my BCB5, and add to this project 
all *.pas files found in theindy9 directory.
The compilation failed because it requests some files that are referenced in 
the IdCompressionIntercept.pas:
...
{$IFDEF MSWINDOWS}
{$L deflate.obj}
{$L inflate.obj}
{$L inftrees.obj}
{$L trees.obj}
{$L adler32.obj}
{$L infblock.obj}
{$L infcodes.obj}
{$L infutil.obj}
{$L inffast.obj}
...
What must I do for creating this Indy 9 lib file  with BCB 5 without error ?
Sam
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a �crit dans le message de news: 
4596dd3b$1@newsgroups.borland.com...
>
> "sam" <nospam@nospam.com> wrote in message
> news:45964193@newsgroups.borland.com...
>
>> Wich Indy version is compliant with BCB 5 that I have ? and is it
>> even still available ?
>
> Indy 9 supports BCB 5 as well.
>
>
> Gambit
>
> 
Re: Process to compile and install it manually Indy 9
#1563
Author: Remy Lebeau (TeamB)
Date: Sun, 31 Dec 2006 21:25
14 lines
1561 bytes
"sam" <nospam@nospam.com> wrote in message
news:45976325@newsgroups.borland.com...

> Remy, I have create a new lib project for my BCB5, and add to this
> project all *.pas files found in theindy9 directory.

Why did you do that?  Indy 9 already has a way to be compiled in BCB.
You did not need to make a new project for it.  I told you earlier
that all you have to do is run the fullc#.bat script for your compiler
version, in this case fullc5.bat.


Gambit
Re: Process to compile and install it manually Indy 9
#1565
Author: sam
Date: Mon, 01 Jan 2007 07:53
72 lines
4947 bytes
Remy, sorry for my bad understanding.
Now I have done the following step:
1) Create a new projet with Turbo C++ free version
2) Add the Indy50.lib to my project that has been created by the fullc5.bat
3) Add the header #include <IdHTTP.hpp> in my code
4) Add the path of this header at the indy C5 is location
5) Try a compilation at this time: OK !
6) I drop a button and on click event I add: TIdHTTP *Http= new 
TIdHTTP(NULL);delete Http;
7) I make a full compilation and I get 18 errors:

[Lieur Erreur] Error: Externe '__tpdsc__ System::String' non r�solu 
r�f�renc� par C:\INDY\C5\INDY50.LIB|IdHTTP
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
FinalizeArray()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdHTTP
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
BeforeDestruction()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdHTTP
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
ClassDestroy()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdComponent
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
ClassCreate()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdComponent
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
AfterConstruction()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStack
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
LStrClr(System::AnsiString&)' non r�solu r�f�renc� par 
C:\INDY\C5\INDY50.LIB|IdStack
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall LStrAsg()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStack
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
LStrArrayClr()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStack
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall LStrAddRef()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStackWinsock
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall 
LStrToPChar()' non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStackWinsock
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall LStrLen()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStackWinsock
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall FillChar()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdStackWinsock
[Lieur Erreur] Error: Externe '__fastcall 
Classes::TStream::SetPosition(int)' non r�solu r�f�renc� par 
C:\INDY\C5\INDY50.LIB|IdTCPConnection
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall LStrLAsg()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdTCPConnection
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall IsClass()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdSocks
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall AsClass()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdSocks
[Lieur Erreur] Error: Externe 'System::__linkproc__ __fastcall PStrCpy()' 
non r�solu r�f�renc� par C:\INDY\C5\INDY50.LIB|IdCoder3To4
--------------------------
Thanks for help.
Sam


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a �crit dans le message de news: 
45982b0b$1@newsgroups.borland.com...
>
> "sam" <nospam@nospam.com> wrote in message
> news:45976325@newsgroups.borland.com...
>
>> Remy, I have create a new lib project for my BCB5, and add to this
>> project all *.pas files found in theindy9 directory.
>
> Why did you do that?  Indy 9 already has a way to be compiled in BCB.
> You did not need to make a new project for it.  I told you earlier
> that all you have to do is run the fullc#.bat script for your compiler
> version, in this case fullc5.bat.
>
>
> Gambit
>
> 
Re: Process to compile and install it manually Indy 9
#1566
Author: Remy Lebeau (TeamB)
Date: Mon, 01 Jan 2007 20:26
19 lines
1887 bytes
"sam" <nospam@nospam.com> wrote in message
news:4598bdf7@newsgroups.borland.com...

> 1) Create a new projet with Turbo C++ free version
>
> 2) Add the Indy50.lib to my project that has been created by the
fullc5.bat

You can't do that.  Library files are compiler version specific.  You
have to compile the library using the Turbo compiler in order to use
it with the Turbo compiler.  The only way you will be able to compile
Indy using BCB 5 and then use it in Turbo is to wrap your Indy-related
code into a DLL instead, and then either generate a Turbo-compatible
import lib for the DLL or load the DLL dynamically at runtime using
LoadLibrary() and GetProcAddress().


Gambit
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