UPDATE: Icon Resource (.dll)

now you can load the icon within your dll.(just edit the code above with these lines)

Code:
mbp.hInstance = GetModuleHandle("your_dll_name.dll"); 


or (you can use either one)


Code:
mbp.hInstance = LoadLibrary("your_dll_name.dll");  


then...

Code:
/* 
           define the id of the icon within your dll.
   below is just an example.. you will have to get the value. 
                                                                */
#define IDI_ICON       103