🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #346176

Re: [ot] integracja z projektem c#

#346176
From: mmm
Date: Thu, 16 Nov 2017 17:57
23 lines
1359 bytes
>          [DllExport]
>          static string WebServiceURL()
>          {
>              string str = DajWebServiceURL();
>              return str;
>          }
> 
> Jak przerobić taka funkcje c# ?
> 
> M
https://stackoverflow.com/questions/35306309/call-dotnet-from-delphi-and-return-a-string

[DllExport]
public static void WebServiceURL(
     [MarshalAs(UnmanagedType.BStr)]
     ref string s
)
{
     s = DajWebServiceURL();
}

M
Technical Details
Message-ID: <oukjj9$3ep$1@portraits.wsisiz.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.gfp49.internetdsl.tpnet.pl!not-for-mail
References: <ouk6km$u8i$1@portraits.wsisiz.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.gfp49.internetdsl.tpnet.pl!not-for-mail
From: mmm <mmm@mm.pl>
Newsgroups: pl.comp.lang.delphi
Subject: Re: [ot] integracja z projektem c#
Date: Thu, 16 Nov 2017 18:57:59 +0100
Organization: http://www.wit.edu.pl
Message-ID: <oukjj9$3ep$1@portraits.wsisiz.edu.pl>
References: <ouk6km$u8i$1@portraits.wsisiz.edu.pl>
Mime-Version: 1.0
Injection-Date: Thu, 16 Nov 2017 17:58:01 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="gfp49.internetdsl.tpnet.pl:83.12.145.49"; logging-data="3545"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
In-Reply-To: <ouk6km$u8i$1@portraits.wsisiz.edu.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit