🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.ide.general
Article #90

Re: interop with D8 Code

#90
From: Tony Blomfield
Date: Sat, 16 Oct 2004 20:12
33 lines
1891 bytes
Wow! Thanks a lot Marc.

I was expecting an insurmountable problem because of trying to mix this
Delphi generated assembly with a C# app, and not being able to use the
Delphi code unit in C#

You have now tought me how to Type cast in C#.

I sure wish there was a .NET Remoting news group where I could go to. Any
sugestions ?

"Marc Rohloff [TeamB]" <"on request"> wrote in message
news:179tjd5ukl2o6.dlg@marcrohloff.40tude.net...
> On Sat, 16 Oct 2004 22:46:57 +1300, Tony Blomfield wrote:
>
> I think
>
> > ObjManager =
> > Activator.GetObject(typeof(SharedNOSSInterface.IRemoteNUCManager),
> > RemoteServer + ServerResource);
>
> should be :
>
>  ObjManager = (SharedNOSSInterface.IRemoteNUCManager)
>  Activator.GetObject(typeof(SharedNOSSInterface.IRemoteNUCManager),
>  RemoteServer + ServerResource);
>
> (I assume ObJmanager is of type IRemoteNUCManager so I typecast the
> result.
>
> -- 
> Marc Rohloff [TeamB]
> marc rohloff at myrealbox dot com
Technical Details
Message-ID: <41718130@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4170eea3$1@newsgroups.borland.com> <179tjd5ukl2o6.dlg@marcrohloff.40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,d6ab59e888126370
X-Google-Attributes: gid165859,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tony Blomfield" <tonyb@sailaway.co.nz>
Newsgroups: borland.public.csharpbuilder.ide.general
References: <4170eea3$1@newsgroups.borland.com> <179tjd5ukl2o6.dlg@marcrohloff.40tude.net>
Subject: Re: interop with D8 Code
Date: Sun, 17 Oct 2004 09:12:11 +1300
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 222.152.51.238
Message-ID: <41718130@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097957680 222.152.51.238 (16 Oct 2004 13:14:40 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail