all groups > dotnet distributed apps > october 2005 >
You're in the

dotnet distributed apps

group:

C# COM in COM+ without using EnterpriseServices


C# COM in COM+ without using EnterpriseServices Zdenek Drlik
10/6/2005 12:00:00 AM
dotnet distributed apps:
Hi all,
I have created and registered C# COM class without using
EnterpriseServices and deriving my class from ServicedComponent. I have
registered it with regasm tool and imported into COM+ server activated
application.
It works fine, VB 6 clients can work with it from client computers using

CreateObject("COMName", "ServerName")

for creating instance. But when I try to export MSI Proxy package from
that COM+ application, I get "invalid pointer" error with error code
80004003. Can anybody knows what could it means?
Class has explicitl interface. Interface has these attributes set:

[ComVisible(true),
GuidAttribute("some guid"), InterfaceType(ComInterfaceType.InterfaceIsDual)
]

Class implementing this interface has these attributes set:

[
ComVisible(true),
GuidAttribute("another guid"), ClassInterface(ClassInterfaceType.AutoDual)
]

Thanks a lot,

Re: C# COM in COM+ without using EnterpriseServices Adam Boczek
10/21/2005 12:00:00 AM
Have you try to register your serviced component using regsvcs tool? That's
the right tool for registering .NET serviced component in COM+.

Adam

"Zdenek Drlik" <drlik@asd-software.cz> schrieb im Newsbeitrag
news:uHnBpunyFHA.1256@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button