How do export "DPI-C" task call sequence?

In reply to birdluo:

The DPI allows you to call SV tasks from C-code and c-subroutines from SV tasks and functions.Calling a sequence is impossibel. What is executed during simulation is the body-task of a sequence. You could call in this body-task c-subroutines with your register commands.