Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-04

ICS

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I am trying to setup an FTP client using the ICS tFTPClient but not have been too successful. It cannot link ZLibObj without getting the error : "Error: Illegal COFF Magic while reading C:\xxxxx\zobj123\adler32.obj". I have done lots of googling, but found no solution, Except to recompile the objects. But, I have no source.
I have used other ICS components with no problems. Has anyone found a solution to this?

Ed Hay

Reply by email

cobines
to Unknown author

2010/4/10 :

Show quoted text 7 lines
I am trying to setup an FTP client using the ICS tFTPClient but not have been too successful. It cannot link ZLibObj without getting the error : "Error: Illegal COFF Magic while reading C:\xxxxx\zobj123\adler32.obj". I have done lots of googling, but found no solution, Except to recompile the objects. But, I have no source. I have used other ICS components with no problems. Has anyone found a solution to this?

I'm guessing objs were compiled with MS C compiler? I think they're not compatible. If this is ZLib then you can get sources, say from http://www.zlib.net/ and rebuild using MinGW into a library, then link with this library.

cobines

Reply by email

Marco van de Voort
to Unknown author: I am trying to setup an FTP client using the ICS tFTPClient but not have been too…

In our previous episode, said:

Show quoted text 5 lines
I am trying to setup an FTP client using the ICS tFTPClient but not have been too successful. It cannot link ZLibObj without getting the error : "Error: Illegal COFF Magic while reading C:\xxxxx\zobj123\adler32.obj". I have done lots of googling, but found no solution, Except to recompile the objects. But, I have no source.

Change the source to use paszlib instead whatever solution it tries to use from Delphi that is not 100% source.

Reply by email

Graeme Geldenhuys
to Unknown author: I am trying to setup an FTP client using the ICS tFTPClient but not have been too…
I am trying to setup an FTP client using the ICS tFTPClient but not have been too successful.

Any specific reason why it must be ICS components? If you can use alternative components, then you could try Indy or lNet. I believe they are more FPC friendly.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Marco van de Voort
to Graeme Geldenhuys

In our previous episode, Graeme Geldenhuys said:

Any specific reason why it must be ICS components? If you can use alternative components, then you could try Indy or lNet. I believe they are more FPC friendly.

ICS actually was the first socketsuite ported. (it was still D1 compatible, and thus required less language features)

As long as you realise it is win32(and maybe win64) only, there is no problem

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote
As long as you realise it is win32(and maybe win64) only, there is no problem

That's what I meant about "fpc friendly". As far as I knew ICS was quite Windows specific, where-as Indy and lNet are not. One never knows if you are later going to need cross-platfrom support in a project - at which time some of your chosen components do not need to be replaced.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: Any specific reason why it must be ICS components? If you can use alternative components,…
Graeme Geldenhuys wrote 8 lines
On 10 April 2010 16:36, wrote: > I am trying to setup an FTP client using the ICS tFTPClient but not have > been too successful. Any specific reason why it must be ICS components? If you can use alternative components, then you could try Indy or lNet. I believe they are more FPC friendly.

Or Synapse.

Michael.

Reply by email

Unknown author

The reason is mainly that I have used it for a ling time with delphi and I am used to it.
No other reason really.

I did manage to get it working though.

On 10 April 2010 16:36, wrote: > I am trying to setup an FTP client using the ICS tFTPClient but not have > been too successful.
Any specific reason why it must be ICS components? If you can use alternative components, then you could try Indy or lNet. I believe they are more FPC friendly.

Reply by email