Autor Beitrag
l.locke
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Fr 17.12.04 09:46 
Hallo,

ich habe das Problem das eine Prozedur von mir TBytes nutzt ich aber keine Unit finde in der TBytes deklariert ist.

Weiß jemand in welcher Unit ich das finde?

Danke!
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Fr 17.12.04 10:23 
TBytes? noch nie gehört und die OH spuckt auch nichts dazu aus. (D6)
Klingt nach einem Typ, den mal jemand "privates" oder so programmiert hat. Einfach mal da nachfragen, wo du diese Prozedur her hast. Alternativ: wenn du glück hast kannst du aus dem Code der Prozedur erkennen, was für ein Typ es is (z.B. array of byte oder sowas könnt ich mir vorstellen). Wenn du aber Pech hast, is es ein Record oder array eines Records, dann wirst du das so nicht einfach rausfinden können. Da hilft dann nur noch eben nachfragen beim Autor.


MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 17.12.04 10:26 
Hallo und :welcome:

Ich habe den Verdacht, dass die Prozedur nicht von dir ist, wenn du etwas verwendest, was du nicht kennst. Woher hast du die Prozedur? Denn da sollte was zu den TBytes stehen. Ansonsten: Versuch aus dem Quelltext rauszufinden, was TBytes sein könnte. Oder zeig mal die Prozedur, evtl. kann da ja jemand helfen...

Edit: zu langsam

_________________
We are, we were and will not be.
demo88
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 160

Ubuntu 6.04, Win XP
Delphi 7
BeitragVerfasst: So 02.01.05 23:03 
die prozedur ist aus den indykomponenten (TIDUPDServer)
und ich hab das gleiche problem
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 02.01.05 23:19 
demo88 hat folgendes geschrieben:
die prozedur ist aus den indykomponenten (TIDUPDServer)
und ich hab das gleiche problem

Welche Version von Indy? In meiner Version gibt es TBytes nicht. Wird wahrschein nur ein array of Bytes sein.
Und wenn TBytes in TIdUDPServer benutzt wird, dann ist es auch irgendwo deklariert.

_________________
Ciao, Sprint.