SOLUTIONS OF FOUR-DIMENSIONAL FIELD THEORIES VIA M-THEORY