Add the sugar and warm over low heat, stirring until the sugar and gelatin have dissolved. Pour into a bowl. Add the corn syrup and vanilla and beat with an electric mixer until it forms a soft meringue. With a pastry bag fitted with a large tip, fill the ice-pop moulds. Insert a lollipop stick at the centre of each mould and refrigerate for 2 hours.