RState: TPRegstate // This is a variable of type Pointer RState.Key := '' // You have not allocated any memory for the record...
Regards Paul McKenzie SMSS Ltd. New Zealand. ----- Original Message ----- From: "Alistair George" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 3:57 PM 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
