Autor Beitrag
DSeven
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mo 02.01.06 06:12 
Hallo,

wollte versuchen folgenden delphi record nach c# zu portieren doch funktioniert irgendwie nicht:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
  TSevenZipINDIVIDUALINFO = record
    dwOriginalSize   : DWORD;
    dwCompressedSize : DWORD;
    dwCRC            : DWORD;
    uFlag            : UINT;
    uOSType          : UINT;
    wRatio           : WORD;
    wDate            : WORD;
    wTime            : WORD;
    szFilename       : array0..FNAME_MAX32 ] of char;
    dummy1           : array0..2 ] of char;
    szAttribute      : array0..7 ] of char;
    szMode           : array0..7 ] of char;
  end;


kann mir einer helfen?
cya

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Mo 02.01.06 12:52 
Was genau geht denn nicht?
Record ist in C# struct
Wenn du was anderes brauchst, musst du konkreter werden ;)
Robert_G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 416


Delphi32 (D2005 PE); Chrome/C# (VS2003 E/A, VS2005)
BeitragVerfasst: Mo 02.01.06 17:09 
Falls du 7Zip von .Net aus benutzen willst, schaue mal hier vorbei. Dort findest du das 7Zip SDK, welches für .Net, native und Java enthalten ist.