S
Slickuser
Hi,
I have two projects, one wrote in C++ and one in C# .NET 3.5 Framework
sp1.
I would like the C++ project to call C# project dll. How can I expose
api/function from C# to allow C++ to call. Mostly I will not have the
source code to C# project, just api I can call.
Example of C# file below so I can get something going. Any help?
Test.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectX
{
public class Test
{
public static void Main()
{
Console.WriteLine("Main!");
}
public void TestCount()
{
Console.WriteLine("Count!");
}
}
}
I have two projects, one wrote in C++ and one in C# .NET 3.5 Framework
sp1.
I would like the C++ project to call C# project dll. How can I expose
api/function from C# to allow C++ to call. Mostly I will not have the
source code to C# project, just api I can call.
Example of C# file below so I can get something going. Any help?
Test.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectX
{
public class Test
{
public static void Main()
{
Console.WriteLine("Main!");
}
public void TestCount()
{
Console.WriteLine("Count!");
}
}
}