If you need it work for Outlook 2003, 2007, and 2010/2013. You should use shared-addin method. This will work for any Outlook version, although you just need to compile it under the specific platform you described above. But, there is no code modification, just compile and build on matched outlook version.