[fpc-pascal] dot net dll in free pascal?
Luca Olivetti
luca at ventoso.org
Tue May 14 17:42:14 CEST 2019
El 14/5/19 a les 14:12, Sven Barth via fpc-pascal ha escrit:
>
> Hmm... I did not see that this is a commercial solution. What is
> something like that doing on SourceForge?! -.-
>
> Well as an alternative you can try the .Net hosting code from the JCL,
> though I don't know what changes you'd need to do to get the necessary
> units working with FPC:
>
> https://github.com/project-jedi/jcl/blob/master/jcl/source/windows/JclDotNet.pas
> https://adamjohnston.me/delphi-dotnet-interop-with-jvcl/
>
> Also it seems that this code requires the assembly to have a COM visible
> API, so you'd need to test this.
>
> Alternatively here is an example by Microsoft to host the CLR yourself.
>
> https://code.msdn.microsoft.com/CppHostCLR-e6581ee0
>
> In both cases you'll have to create type library imports for mscoree and
> mscorlib.
Thank you, I'll see if I can do something with any of those links.
Bye
--
Luca
More information about the fpc-pascal
mailing list