Hello,

I need to generate proxys for TLBIMPED COM+ objets to access these via
remoting.

So far i have not been able to achieve this, because I have problems with
the interface definitions that soapsuds.exe generates over the RCW that
Tlbimp generates.

To make sure that remoting really really works i have tried this small
example that works:

server side
- I have done a simple helloworld.dll in VB6
- I register this Dll in COM+
- I generate a RCW with Tlbimp.exe
- I place the wrapper as IIS hosted
- I configure a web config to publish the wrapper

client side
- I generate a proxyclass.cs with soapsuds.exe
- I compile it and reference it within my asp application
- I configure remoting file

This works perfectly.

My problem resides when i do the same thing but with my more complex COM
object.

The RCW has for exmaple this (viewed with Object Browser) property:
Public Overridable WriteOnly Property  IN_sNomTabla() As String

And the Proxy(generated with Soapsuds):
Public Overridable WriteOnly Property  IN_sNomTabla() As System.IntPtr


For what i know , and done before with remoting, what i need is an empty
proxy just with interfaces and implements of my RCW class. But in this case
is a litlle more complex, simce Tlbimp is generating interfaces to
interoperate with COM, and the reference to the com+ object is implicit in
RCW.

I am not sure if what i am trying to accomplish is posibble or not, but is
there a way to delete this reference from the RCW through IL code with
ildasm and then recompile the RCW(now it would not have the reference) so
it could be used by remoting on the client side.

Many Thanks,

Manuel

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to