But in a standard dll we cannot set the threading model of the dll thru project properties since it is of type standard exe
Just create an ActiveX dll. There is no difference - you can export a function from any PE file.