I am trying to export functions contained in a module in a DLL, and then, of course, import these functions from another program. I am not able to do it. I have followed the "standard" procedure with the !DEC$ ATTRIBUTE :: DLL EXPORT in the function declaration I want to export. I have included the .lib in the project and the Dll has been moved in System32. and the interface statement in the calling program. But it does not work, It fails at linker time. does anybody know how to do it ?
can function contained in a module be exported in a DLL?