There are many free compilers (IDEs) out there and those take your code and compiles it (compiles the object file + links it) and creates a .dll for your disposal. some of the best are Microsoft visual studio (this isnt free), Microsoft Visual C++ Express (free), DevC++.
Or which language is this code written in? C#, Java?