1. Combine flour, baking powder, salt and cornflakes, and set aside.
2. In a large bowl, cream margarine and sugars.
3. Add eggs and vanilla, and mix well.
4. Gradually add dry ingredients, mixing well.
5. Stir in coconut.
6. Drop from teaspoon on ungreased cookie sheet.
7. Bake at 300° for 12-15 minutes.