déclaration de variable pour une dll |
Sujet: déclaration de variable pour une dll par jolindien sur 10/1/2005 21:02:20 Bonjour à tous. J'ai un nouveau problème à vous soumettre. Je voudrais utiliser une DLL, et je dois utiliser ces variables: TCdRom = record HaId : Byte; Target : Byte; Lun : Byte; Vendor : ShortString; ProductId : ShortString; Revision : ShortString; VendorSpec: ShortString; end; TCdRoms = record CdRomCount: Byte; CdRom : array[0..25] of TCdRom; end; TTOC = record M: Byte; S: Byte; F: Byte; AudioTrack: Boolean; // indicates if the track is an audio or data track end; TCdToc = record TracksOnCD: Byte; LeadOut : TTOC; Tracks : array[0..99] of TTOC; end; Je voudrais savoir comment les déclarer? En variable composée, classe ou structure? Merci. |