you dont use c++ to make icon dlls.
I used Axilias for this one:

http://www.mircscripts.org/comments.php?cid=1748