DPI import function not found

,

In reply to zz8318:

DPI imports/exports do not need to be in a module.

I cannot help you any further without some idea of where you are declaring the DPI in/exports, and where you are calling them from.