Thema: Delphi C++ nach Delphi

Einzelnen Beitrag anzeigen

keksman
(Gast)

n/a Beiträge
 
#1

C++ nach Delphi

  Alt 12. Aug 2007, 00:44
Hallo,

ich möchte folgenden record gerne in Delphi konvertieren:
Code:
typedef struct
{
    uint8   cmd;
    uint8   error;
    uint16  size;
    uint8   gamename[4];
    uint8   version1;
    uint8   version2;
    uint8   version3;
    uint16  build;
    uint8   platform[4];
    uint8   os[4];
    uint8   country[4];
    uint32  timezone_bias;
    uint32  ip;
    uint8   I_len;
    uint8   I[1];
}
Was ich jetzt nicht verstehe ist, was es mit dem uint8 usw. aus sich hat. Delphi erkennt bei mir nur uint aber kein uint8.
Hoffe mir kann da jemand weiterhelfen

Gruß
keksman
  Mit Zitat antworten Zitat