atl程序编译成功后
Performing registration
Server registration done!客户是个mfc程序
头文件加进来了
调用时
HRESULT hr;   
ISimpleInterface * pIntf = NULL;
hr = CoCreateInstance
(CLSID_SimpleInterface, NULL, CLSCTX_SERVER , 
IID_ISimpleInterface, (void **)& pIntf);
if(SUCCEEDED(hr))
{
pIntf->Welcome();
pIntf->Release();
}
结果是联结错误!
UsingAtlDlg.obj : error LNK2001: unresolved external symbol _CLSID_SimpleInterface
UsingAtlDlg.obj : error LNK2001: unresolved external symbol _IID_ISimpleInterface
还有什么没有做???