Doh, I forgot to include the resource header into the resource file.. It works now!