Hello Neven, NM> function RegState(var TrialDays: word = 0; var Key string = '',var License: string = ''): Boolean; Using that method (which I did before) I come up with CE of: 'Default parameter 'TrialDays' must be by-value or const' My help says zilch about by-value so I'm back to square one.
Also, Overloaded does not work for me either as you suggested. Since I tried the former before - which I thought was the correct method too - could it possibly be something in the compiler settings?? Al+ _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
