Hi I'm currently running some code in C# below
Application infopath = new Microsoft.Office.Interop.InfoPath.Application(); # falls over here
infopath.RegisterSolution(solution);
I get the following error
System.Runtime.InteropServices.COMException occurred
Message=Retrieving the COM class factory for component with CLSID ...