Hi,
You don't do something wrong, you just don't do everything
In your code, place
Invoke InitCommonControlsEx, ADDR icce
or
Invoke InitCommonControls
(depending on which common controls you are using
To be able to use richedit, you need to
Invoke LoadLibrary,ADDR szRichEdit
MOV hRichEd,EAX
Do not forget to use Invoke FreeLibrary,hRichEd before your program terminates
Cheers,
Antonis