Autor Beitrag
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 14.05.04 14:47 
Hallo !!

Ein Browser z.b. der IE kann ja auch schon die Webseite darstellen, während der Server noch die Daten sendet (wenn z.b. die rückgabe durch ein PHP Script lange dauert).

wie kann ich denn soetwas mit den INDY kompos machen ?? also am besten mit der idHTTP kompo ??
ich kanns biher nur so, dass die indy kompo alles abholt und mir dann alles als string zurückgibt.

danke
Matze

_________________
In the beginning was the word.
And the word was content-type: text/plain.


Zuletzt bearbeitet von matze am So 16.05.04 09:48, insgesamt 1-mal bearbeitet
thebe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 128

WinXP Home
D6 Enterprise
BeitragVerfasst: Fr 14.05.04 16:05 
mit TIdHTTP.Get kannst Du auch direkt innen MemStream schreiben. Danach einfach TStringList.LoadFromStream und die StringList interpretieren..
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 15.05.04 08:25 
wie würdest du das machen ?? in einen global definerten MemoryStream schreiben und den dann in nem timer auslesen oder wie ??

_________________
In the beginning was the word.
And the word was content-type: text/plain.
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 16.05.04 09:47 
danke ich habs hinbekommen !!!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
DaRkFiRe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 526

WinXP Home & Professional
C, C++, Delphi
BeitragVerfasst: So 16.05.04 12:11 
Publiziere Deine Lösung bitte einmal ansatzweise, ich hab das gleiche Problem. Will einen Cache-Proxy schreiben.

_________________
Lang ist der Weg durch Lehren - kurz und wirksam durch Beispiele! Seneca
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 17.05.04 18:17 
ok. die Indy kompo generiert in bestimmten abständen das OnWork ereignis. ich mache nun folgendes: ich habe ein TStringlist und ein TMemoryStream Objekt global deklariert.
vevor ich den indy GET befehl ausführen lasse, erzeuge ich die beiden objekte.
im Onwork ereignis weise ich den inhalt des MemoryStreams der Staringist zu und mache aktion mit dieser.

PS: Du proggst nen proxy ?? cool. kannste mir evtl mal per PN schreiben wie du das machst ??
oder wir machen ein Topic auf, damit die restliche DF welt was davon hat !

_________________
In the beginning was the word.
And the word was content-type: text/plain.