You are supposed to remove the declaration for the EnemyObject only. Turn this:
AEnemyActor EActorObject;
AEnemyActor* EActor = &EActorObject;
Into this:
AEnemyActor* EActor;
I dont see any reason why you would not be able to call the method this way.