In the top of a double boiler combine sugar, cold water, egg whites, corn syrup or cream of tartar, and salt. Beat 30 seconds on low speed. Place over boiling water (upper pan should not touch water). While beating constantly on high speed, cook about 7 minutes or till frosting forms stiff peaks. Remove from heat and add vanilla. Beat 2 to 3 minutes or until of spreading consistency.