I've looked around the Internet for some decent information on creating DLLs in C, but found little. Only some source code which doesn't compile (10+ errors that I have no clue about) and a short article which comes with no source code.
C++ DLLs seem to be more common, but that's not what I want. If anyone could tell me of where to find a decent article with source code on creating a DLL in C, I'd be appreciative.