Hi,
You could try:
class DaemonPlugin
{
[DllExport("add",CallingConvention = CallingConvention.Cdecl)]
public static int add(int left, int right)
{
return left + right;
}
}
Then write a C++ wrapper around the exported classes. I don't think C#
will be able to handle the pointers
Hi, Roberto!
On Sep 13, Roberto Spadim wrote:
> Hi guys,
> I have a program wrote in c#, it process some code and the result is a
> struct (an array of string/double/int)
> I want to include this program inside mariadb server as a daemon plugin (to
> process data) + a storage engine (to read
2 matches
Mail list logo