🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14137

Re: How to host .Net framework runtime

#14137
From: Vladimir Afanasyev
Date: Thu, 28 Aug 2003 14:32
30 lines
2147 bytes
Hi,

"Arrie Castelyn" <arriec@absamail.co.za> wrote:
>Hosting the CLR in your application.
>How do you do it?
>

Microsoft made interoperability but it is not always easy.
Really it is easy call Win32 API function or function 
from your DLL (it called PInvoke) from C# or managed C++ 
than vice versa (about it you ask).

As I know you need create some middleware on .Net 
platform for accessing to CLR classes from unmanaged code. 
It means creating application (component) on 
C# (C++ managed) and registered it 
in Registry as Com object (IDispatch interface).
So you can't do it without .Net languages.

May be it is time for you to download Borland C# Personal 
Edition (free for non-commertial using).


Another sample - you have remote WSDL service written on 
C#. The access to this services via WSDL - SOAP - HTTP - TCP/IP.
So if your application correctly use this protocols (for example, via wininet.dll) you can access (I hope it's true) to 
service from remote unmanaged client.

Vladimir.
Technical Details
Message-ID: <3f4e128b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f4ca568@newsgroups.borland.com> <3f4cc565$1@newsgroups.borland.com> <3f4daa95@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8a4a44dd7f7e76fb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-28 07:37:22 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: How to host .Net framework runtime
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 212.82.216.226 212.82.216.226    
X-Forwarded-For: 192.168.0.147
References:  <3f4ca568@newsgroups.borland.com> <3f4cc565$1@newsgroups.borland.com> <3f4daa95@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f4e128b$1@newsgroups.borland.com>
Date: 28 Aug 2003 07:32:43 -0700
X-Trace: newsgroups.borland.com 1062081163 207.105.83.65 (28 Aug 2003 07:32:43 -0700)
Lines: 30
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail