AndrewHoward 0 Posted August 10, 2023 Can I use managed C# DLL in unmanaged Delphi application ? Thanks Share this post Link to post
David Heffernan 2345 Posted August 10, 2023 (edited) Yes. Probably the easiest way is with UnmanagedExports but it can also be done with COM. You may need to create a wrapper C# DLL to bridge the interface. Edited August 10, 2023 by David Heffernan Share this post Link to post
DelphiUdIT 176 Posted August 10, 2023 Look at this: https://stackoverflow.com/questions/2048540/hosting-clr-in-delphi-with-without-jcl-example There is also an example to use C# with reflection (without COMVISIBLE). I use JCL to use C# DLL with [COMVISIBLE(TRUE)] Bye Share this post Link to post
Remy Lebeau 1393 Posted August 10, 2023 3 hours ago, David Heffernan said: Yes. Probably the easiest way is with UnmanagedExports but it can also be done with COM. Or Atozed CrossTalk, too. Share this post Link to post