Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-05 Thread Nicholas Palmer
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object > So I am getting the error when I try and execute the oLibrary.Version > method. The o.GetLibrary() call executes but I'm not sure its > returning anything

Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-05 Thread Mike Woodring
> So I am getting the error when I try and execute the oLibrary.Version > method. The o.GetLibrary() call executes but I'm not sure > its returning > anything useful. In the debuggger, if you hover your cursor over the oLibrary variable after you execute this line: oLibrary = o.GetLibrar

Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-05 Thread Nicholas Palmer
guration. Thanks, Nick -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mike Woodring Sent: Thursday, January 04, 2007 7:42 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Passing an object reference back f

Re: [ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-04 Thread Mike Woodring
> The call to the new method worked, > but when I try and reference a property of the object that I just got > passed > back, I get the following error : What's the type of the property you're accessing, and are you accessing it's setter or getter? -Mike Bear Canyon Consulting LLC http://www.bear

[ADVANCED-DOTNET] Passing an object reference back from a COM+ hosted object

2007-01-04 Thread Nicholas Palmer
Hi all, I've got a strange problem. I'm trying to do a simple test of hosting a VB.NET application in Component Services. I've written a simple server class that inherits from EnterpriseServices.ServicedComponent and it has a simple method that returns a string. So I've got this built successful