So then you should remove the star between void * and DWORD * casts. By the way, you don't need to cast twice...

--
Mats