according to dllexp.exe (a dll examiner) my dll does not export any functions. So there is something wrong in my declaration:pragma(lib,kernel33.lib); extern(C){ export void * functionfromkernel33.lib () ; ... } How can one write this correctly?
You need a dll main function. Check out the dll example that comes with dmd (i.e. dmd2\samples\d\mydll) for the complete example.
