moved __dllspec outside source