A new method in critical point theory based on convexity and approximation