I wanted to make an app I'm writing more modularized, and someone suggested using factory functions in DLLs. Now, I know what a DLL is and how to write one but, factory functions elude me. Everything I find on google turns out to be a message post on some idle board saying to use factory functions in <insert development library here>. So can anyone explain what factory functions are and how to write one or rather the functionality of them. Thanx.