Today I used the SDK3.0 to develope a program on PC connecting Nokia8210,and the connection method is Ir.

My program
IUnknown *Unknown;
::CoInitializeEx( NULL, COINIT_MULTITHREADED );
HRESULT hr = ::CoCreateInstance(
__uuidof( SMS_SuiteAdapter ),
NULL,
CLSCTX_INPROC_SERVER,
__uuidof( IUnknown ),
( void * * ) &Unknown );

the SDK3.0 shows the nokia8210 is conneted,but when the program runs,the value of "hr" is -2147221164(FFFFFFFF80040154(HEX)) .

please answer me,Thank you!