I solved the problem!

I've to make the function pointer to be extern(C),
so I will have

extern(C)
{
int function(...) tfunc;
}

Reply via email to