Sry I was too quick to read, forgot to make the InitCommonControls call. Now it works.