Autor Beitrag
NeWsOfTzzz
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mo 28.02.05 22:32 
also ich habe jetzt versucht das string in den bytearray zu schieben, welches zu klappen scheint:
ausblenden Delphi-Quelltext
1:
move(string[1], bytearray^[6], len);					

nun auf dem server der rückweg scheint nicht zu gehen:
ausblenden Delphi-Quelltext
1:
move(bytearray^[6], string[1], len);					

wie mach ich das nun, die bytes wieder in string kopieren?


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 02.03.2005 um 17:52
cartridge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 209

Win XP
D4 Prof,D6 Prof
BeitragVerfasst: Mo 28.02.05 22:36 
Was willst Du eigentlich wirklich?

Wozu brauchst Du diese Methoden? Vielleicht gibt es da eine andere Art und Weise, zum selben Ergebnis zu kommen...

Gruß
Ingo
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mo 28.02.05 22:37 
ich will genau das was ich geschrieben habe und sonst nix.. bitte zweifel meine intelligenz nicht an O.o
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Mo 28.02.05 22:43 
benutze die funktionen byte und char
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 28.02.05 22:47 
Hast du vorher die Länge des Strings entsprechend gesetzt, damit auch genügend Platz ist?

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mo 28.02.05 22:49 
mit ord() und chr() hab ich das vorher gemacht und das mit der länge des strings, das hab ich mir auch schon überlegt wie man das machen könnte aber mit getmem(string, len) ging´s nicht :lol:
ps: in der hilfe datei wusste ich nicht wonach ich suchen sollte, von daher weiss ich´s immer noch nicht
pps: ahh setlength, jetzt geht alles ^^