Hallo Leute,
mal eine kleine Frage an euch: Ist diese Übersetzung eines C++ Struct korrekt?
Delphi-Quellcode:
type
//typedef struct _IMAGEHLP_SYMBOL
//{
// DWORD SizeOfStruct;
// DWORD Address;
// DWORD Size;
// DWORD Flags;
// DWORD MaxNameLength;
// CHAR Name[1];
//} IMAGEHLP_SYMBOL, *PIMAGEHLP_SYMBOL;
PIMAGEHLP_SYMBOL = ^IMAGEHLP_SYMBOL;
IMAGEHLP_SYMBOL =
record
SizeOfStruct: DWORD;
// set to sizeof(IMAGEHLP_SYMBOL)
Address: DWORD;
// virtual address including dll base address
Size: DWORD;
// estimated size of symbol, can be zero
Flags: DWORD;
// info about the symbols, see the SYMF defines
MaxNameLength: DWORD;
// maximum size of symbol name in 'Name'
Name:
array[0..1]
of AnsiChar;
// symbol name (null terminated string)
end;
Vielen dank
[edit=SirThornberry]Titel korrigiert - Mfg, SirThornberry[/edit]