Re[2]: RegisterTypeForComClients и sp_OACreate
От: Gushulay  
Дата: 17.05.05 14:57
Оценка:
Здравствуйте, Delirium, Вы писали:

D>Разумеется OLE object валидный и IDispatch реализует — как бы он в противном случае вызывался удалённо? А он именно вызыватся по DCOM-у из Delphi и отлично работает.


D>
данное сообщение получено с www.gotdotnet.ru

D>ссылка на оригинальное сообщение


А может проблема в регистрации? Выдержка:

Remarks

This method, which is equivalent to calling CoRegisterClassObject in COM, is not intended to be used directly from your code. It registers a type but there is no equivalent unregistration method in the RegistrationServices class. Using the RegisterTypeForComClients method can cause unpredictable results, particularly if the application is multithreaded. Instead, to register the assembly containing the type, use the RegistrationServices.RegisterAssembly method.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.