Have you ever worked with pointers before? Read up about New and Dispose in the help file.
-----Original Message----- From: Alistair George [mailto:[EMAIL PROTECTED] Sent: 28 June 2004 1:57 PM To: [EMAIL PROTECTED] Subject: [DUG] Records: Access Violation error TPRegState = ^TRegState; TRegState = record TrialDays: Integer; Key, License: string; Registered: Boolean; end; //Global var: Rstate: TPRegstate; //In formshow: Rstate.Key := ''; //AVErr here RegStatus(Rstate); _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
