I have developed a messenger plugin program which used messenger api, it works very well in win98/200/xp, but I tested it in Vista OS today, it cannot work! create object failed:
hResult = ::CoCreateInstance(
CLSID_MessengerUIAutomation,
NULL,
CLSCTX_LOCAL_SERVER,
IID_IMessenger,
(void **)&m_pMsgr);
How to solve it Thanks.

About messenger api and vista problems
Richard Berg MSFT
That was written against Windows Messenger, and Windows Messenger is no longer in Vista. What we have done is add the API's which WIndows Messenger used to support to Windows Live MEssenger, so when you install Windows Live messenger it will pickup the API calls which you are trying to make and your application will work properly. Wait for the next beta of Windows Live Messenger and install it and your app should work.
fripper