Beat the butter and sugar together until fluffy, then mix in the egg and vanilla extract.
Whisk the flour, baking powder and salt in a separate bowl, then stir into the wet mixture until a dough forms.
Chill the dough for 1 hour, then roll to 1/8 inch thickness.
Cut out 32 rounds; use a small cutter to punch a window from the center of half of them.
Bake all the rounds at 350°F for 7 to 9 minutes until just set, then cool completely.
Dust the windowed cookies with powdered sugar once cool.
Spread about a teaspoon of jam on each solid cookie and top with a windowed one, pressing gently so the jam shows through.