well i suppose my dumbness might help others

if you get this error make sure the libary comctl32.lib is included as InitCommonControls(); needs it