www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - Creating DLLs ... howto?

I'm compiling Lua using the DM compiler. I'd like to create a DLL 
such as the one Lua distributes. 

I have never created a DLL and I'm utterly at a loss as to how to do 
this. Can anyone point me to a tutorial or good example?

Jan 11 2006