I tried the sample at
http://msdn.microsoft.com/library/ps...ource_1ph0.htm
to create a resource list. However, when I compiled it, I got the following
error,

error C2664: 'EnumResourceNamesA' : cannot convert parameter 1 from 'void
*' to 'struct HINSTANCE__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit
cast

What did I do wrong?

Thanks!