Sign in Join

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

Mailing lists / fpc-devel / 2001-02

ICS and FPC

13 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Tobias Hermann

Hi!

I have an Delphi - Application that uses ICS from Francois Piette (Internet Component Suite). I want to port that App to Linux. I heard of tests running TWSocket and it's other components with FPC. But I think all on Win32, am I right?

Are there plans to implement this for Linux, too? Or have we to wait for Francois' Kylix-Code in order to compile with FPC to the linux platform?

Thanx
Tobi

Reply by email

Michael Van Canneyt
to Tobias Hermann
Tobias Hermann wrote 6 lines
Hi! I have an Delphi - Application that uses ICS from Francois Piette (Internet Component Suite). I want to port that App to Linux. I heard of tests running TWSocket and it's other components with FPC. But I think all on Win32, am I right?

Till now, tests were done with the win32 code, yes. But since ICS was using some GUI code, it was not really feasible, as we have no GUI components yet.

Are there plans to implement this for Linux, too? Or have we to wait for Francois' Kylix-Code in order to compile with FPC to the linux platform?

I suppose so, yes. I haven't seen his Kylix code yet.

It isn't certain yet that we can compile it; if it uses threads or so, it will not be easy, as the thread support of FPC isn't ready yet.

Michael.

Reply by email

Marco van de Voort
to Tobias Hermann: Hi! I have an Delphi - Application that uses ICS from Francois Piette (Internet Component…
I have an Delphi - Application that uses ICS from Francois Piette (Internet Component Suite). I want to port that App to Linux. I heard of tests running TWSocket and it's other components with FPC. But I think all on Win32, am I right?

Yes, new tests are scheduled for this week. (several Delphi packages wil be tested to test the Delphi compability of the 1.1 compiler)

Today I tried to compile Martin Waldenberg's Decal. I found 11-12 problems, most in the variant/widechar sphere.

Are there plans to implement this for Linux, too? Or have we to wait for Francois' Kylix-Code in order to compile with FPC to the linux platform?

Afaik, ICS is too Windows specific. But I'm no Linux networking expert.

Reply by email

Marco van de Voort
to Michael Van Canneyt: Till now, tests were done with the win32 code, yes. But since ICS was using some GUI…
Show quoted text 7 lines
> I have an Delphi - Application that uses ICS from Francois Piette (Internet > Component Suite). I want to port that App to Linux. I heard of tests running > TWSocket and it's other components with FPC. But I think all on Win32, am I > right? Till now, tests were done with the win32 code, yes. But since ICS was using some GUI code, it was not really feasible, as we have no GUI components yet.

There is a define "noform" or "noforms". Quite a lot can be compiled with some effort, problem is that all demoes are GUI.

Show quoted text 7 lines
> Are there plans to implement this for Linux, too? Or have we to wait for > Francois' Kylix-Code in order to compile with FPC to the linux platform? I suppose so, yes. I haven't seen his Kylix code yet. It isn't certain yet that we can compile it; if it uses threads or so, it will not be easy, as the thread support of FPC isn't ready yet.

There are threads IIRC.

Reply by email

Willi Krenn
to Marco van de Voort: Yes, new tests are scheduled for this week. (several Delphi packages wil be tested to…

----- Original Message -----
From: "Marco van de Voort"

Show quoted text 5 lines
Yes, new tests are scheduled for this week. (several Delphi packages wil be tested to test the Delphi compability of the 1.1 compiler) Today I tried to compile Martin Waldenberg's Decal. I found 11-12 problems, most in the variant/widechar sphere.

What do you think when FPC will have variant support? I'm currently porting (ok, trying to) a component that heavily relies on variants - should I wait till FPC supports them or should I replace the variants by something else now?

regards,
Willi

Reply by email

Marco van de Voort
to Willi Krenn
Show quoted text 7 lines
> Yes, new tests are scheduled for this week. (several Delphi packages wil be > tested to test the Delphi compability of the 1.1 compiler) > > Today I tried to compile Martin Waldenberg's Decal. I found 11-12 problems, > most in the variant/widechar sphere. What do you think when FPC will have variant support?

1.1 already has, but not yet all types that Delphi knows are supported, and it still needs a lot of debugging. (e.g. you can't pass a variant to an array of const)

I'm currently porting (ok, trying to) a component that heavily relies on variants - should I wait till FPC supports them or should I replace the variants by something else now?

Hard to tell. I don't know how difficult debugging and extending variants will be (some parts are also depending on widestrings), and also a release based on 1.1 is still at least half an year away.

On the other hand, 1.1 snapshots are seeming to become somewhat usuable again.

Marco van de Voort ( or )

Reply by email

Willi Krenn
to Marco van de Voort
Show quoted text 5 lines
> What do you think when FPC will have variant support? 1.1 already has, but not yet all types that Delphi knows are supported, and it still needs a lot of debugging. (e.g. you can't pass a variant to an array of const)

So this program should work on win32 with the latest snapshot?

program test;
uses crt;
var i:variant;
begin
  write('Enter a number: '); readln(i);
  writeln('You pressed '+i);
  readln;
end.
On the other hand, 1.1 snapshots are seeming to become somewhat usuable again.

Well, if I get the program above to work then I'll play around with the variants..

Willi

Reply by email

Tobias Hermann
to Marco van de Voort: There is a define "noform" or "noforms". Quite a lot can be compiled with some effort,…

Should be no big problem to create a basic tcp/ip demo for non-form tests...

Tobi

Earlier message 21 lines
----- Original Message ----- From: Marco van de Voort To: Sent: Monday, February 19, 2001 6:58 PM Subject: Re: [fpc-devel]ICS and FPC > > > I have an Delphi - Application that uses ICS from Francois Piette (Internet > > > Component Suite). I want to port that App to Linux. I heard of tests running > > > TWSocket and it's other components with FPC. But I think all on Win32, am I > > > right? > > > > Till now, tests were done with the win32 code, yes. But since ICS was using some > > GUI code, it was not really feasible, as we have no GUI components yet. > > There is a define "noform" or "noforms". Quite a lot can be compiled with > some effort, problem is that all demoes are GUI.

Reply by email

Marco van de Voort
to Willi Krenn: So this program should work on win32 with the latest snapshot? program test; uses crt;…
Show quoted text 17 lines
> > What do you think when FPC will have variant support? > > 1.1 already has, but not yet all types that Delphi knows are > supported, and it still needs a lot of debugging. (e.g. you can't pass a > variant to an array of const) So this program should work on win32 with the latest snapshot? program test; uses crt; var i:variant; begin write('Enter a number: '); readln(i); writeln('You pressed '+i); readln; end.

No, but Delphi doesn't eat this either. You can't read() write() variants.

Reply by email

Tobias Hermann
to Marco van de Voort: If you know ICS, and windows networking, go ahead! I don't , and it could considerably…

can u quickly explain me how to get the unit TWSocket.pas to work with ICS ? I'm not that familiar with this "low level" stuff in this case...

And what files of ICS I need to get compiled with fpc, etc. ?

Then I'll try ;-)

Earlier message 19 lines
----- Original Message ----- From: Marco van de Voort To: Sent: Monday, February 19, 2001 11:33 PM Subject: Re: [fpc-devel]ICS and FPC > > Should be no big problem to create a basic tcp/ip demo for non-form tests... > > If you know ICS, and windows networking, go ahead! I don't , and it could > considerably help me with testing after initial port > > > > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel >

Reply by email

Marco van de Voort
to Tobias Hermann
can u quickly explain me how to get the unit TWSocket.pas to work with ICS ? I'm not that familiar with this "low level" stuff in this case... And what files of ICS I need to get compiled with fpc, etc. ?

I'm currently porting, but the problem is that you'll need Delphi's Messages.pas for now.

I'll put on a zip with the modified ICS components later today.

Reply by email