In reply to boryah:
This Mentor sponsored public forum is not for tool specific help. But…, I strongly recommend generating a header file (in Questa using the -dpiheader switch), and include’ing that in your C++ file. That will take care of the majority of C interface mismatches.