1.  
  2. module mydll;
  3. import std.c.stdio;
  4.  
  5. export void dllprint() { printf("hello dll world\n"); }