This is the first time i've used a .dll in one of my programs, so I'm a bit shakey to start off with. Now in the documentation this is appended on the end (it's freeware, so I'm not breaking any agreements):
Am I right in saying that these are structures? And if so how do I impliment them properly? Bytes are easy but PB doesn't have a nativge Boolean true/false type does it? And 'Traks : array[0...99] or TTOC is a structured array in a strucuture, how do I impliment that?Types
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;
Thanks for you help in advance.

