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

In reply to birdluo:

the flow is as below:
[] the c code call task.
[
] the task call sequence.

how to fix the issue if the interface is not used?