Accessing DVAL after casting to long? That can't be right...