Exp=z
@p1='Ҫ
@c1=
@p2=
@c2=
@va=a
@vb=b
@vc=c
@vd=d
@end
                                        
//YCheckKey
//ĿģǷڶӦļ
//ؽΪ棬ڶӦļΪٴڲӦļ
//LastError=0ȷLastErrorΪμֲ
BOOL SoftKey::YCheckKey()
{
	//ֲ
	BYTE a,b,c,d,temp_a,temp_b,temp_c,temp_d; 
	//
	srand( (unsigned)time( NULL ) );
	temp_a=a = rand()  ;temp_b=b =rand(); temp_c=c = rand(); temp_d=d = rand();
	//͵ڽ
	if (Cal_2("@f",@p, 16, &temp_a, &temp_b, &temp_c, &temp_d,KeyPath,2000) != 0) {return false ; }
	@1
	//ͬڶӦ򣬲ڶӦļ
	if ((a == temp_a) && (b == temp_b) && (c == temp_c) && (d == temp_d ))
	{
		return true;
	}
	return false;
}