I had developed an application in VS 2008, which uses MSCOMCTL.OCX. Every thing works fine as long as I run my application in 32 bit OS (i.e. Win XP) and also in 64 bit OS (Window 7 x64) after compiling it using 'Target CPU' option to 'X86', but when I compile it using 'Targer CPU' option to 'Any CPU', the application throws following exception in 64 bit OS (i.e. Windows 7 x64) i.e.
Class not registered (Exception from HRESULT: 0X8004015 (REGDB_E_CLASSNOTREG))