Is it possible to have multiple instances of a module which contain DPI’s. And from each of the instance can I import DPI with a different definition?

In reply to anuragre:

No, but you can import the DPI routine with context, or pass a unique argument value through each instance, and branch based on that information inside your C code.