I had a similar problem some time ago, when I had to integrate a third party .NET DLL. After many days and nights googleing I found that there is a way by acessing the DLL via DCOM.
In your .NET DLL you need to expose an Interface.
using System.Runtime.InteropServices;
namespace TestClass
{
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface ITestInterface
{
bool Function1OfDLL(string sParameter);
string Function2OfDLL(string sAnotherParameter);
}
public class TestClass : ITestInterface
{
public TestClass()
{
//Init code;
}
bool Function1OfDLL(string sParameter);
{
//Do something here
}
string Function2OfDLL(string sAnotherParameter);
{
//Do something here
}
}
}
Then you need to register your DLL with "RegAsm.exe TestDLL.dll". The RegAsm tool is part of the .NET-Framework.
In VC++ 6.0 is goes like this to access the DLL. Something similar should be possible in U++.