help debugging downloaded CIB class
http://www.dev-archive.com/cpp/g-m/bitmap/article.php/c1687/#more
but am getting the following errors
-------Configuration: LaunchDLL - Win32 Debug-------
Compiling...
CDib.cpp
LaunchDLL\CDib.cpp(7) : error C2258: illegal pure syntax, must be '= 0'
LaunchDLL\CDib.cpp(7) : error C2252: 'THIS_FILE' : pure specifier can only be specified for functions
LaunchDLL\CDib.cpp(10) : error C2535: 'class CObject *__stdcall CDib::CreateObject(void)' : member function already defined or declared
launchdll\cdib.h(9) : see declaration of 'CreateObject'
LaunchDLL\CDib.cpp(10) : error C2535: 'struct CRuntimeClass *__stdcall CDib::_GetBaseClass(void)' : member function already defined or declared
launchdll\cdib.h(9) : see declaration of '_GetBaseClass'
LaunchDLL\CDib.cpp(10) : error C2059: syntax error : '{'
LaunchDLL\CDib.cpp(10) : error C2334: unexpected token(s) preceding '{'; skipping apparent function body
LaunchDLL\CDib.cpp(10) : error C2535: 'struct CRuntimeClass *__thiscall CDib::GetRuntimeClass(void) const' : member function already defined or declared
launchdll\cdib.h(9) : see declaration of 'GetRuntimeClass'
LaunchDLL\CDib.cpp(10) : error C2059: syntax error : '('
LaunchDLL\CDib.cpp(10) : error C2059: syntax error : ')'
LaunchDLL\CDib.cpp(10) : error C2143: syntax error : missing ';' before ')'
LaunchDLL\CDib.cpp(10) : error C2238: unexpected token(s) preceding ';'
LaunchDLL\CDib.cpp(10) : error C2804: binary 'operator >>' has too many parameters
LaunchDLL\CDib.cpp(10) : error C2333: '>>' : error in function declaration; skipping function body
LaunchDLL\CDib.cpp(13) : error C2535: '__thiscall CDib::CDib(void)' : member function already defined or declared
launchdll\cdib.h(28) : see declaration of 'CDib::CDib'
LaunchDLL\CDib.cpp(22) : error C2535: '__thiscall CDib::CDib(class CSize,int)' : member function already defined or declared
launchdll\cdib.h(29) : see declaration of 'CDib::CDib'
LaunchDLL\CDib.cpp(49) : error C2535: '__thiscall CDib::~CDib(void)' : member function already defined or declared
launchdll\cdib.h(30) : see declaration of 'CDib::~CDib'
LaunchDLL\CDib.cpp(512) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
LaunchDLL.dll - 17 error(s), 0 warning(s)
can anyone help tell me whats going wrong please.
matt.

