SW Started Programmatically doesn't include add-ins

I have a bit of code in an EPDM add-in that looks like this:

Type swType = Type.GetTypeFromProgID("SldWorks.Application");

swApp = Activator.CreateInstance(swType) as SldWorks.SldWorks;

When executed, SolidWorks starts as expected, but several add-ins are missing.  If I start SW manually, and then look at Tools..Add Ins, I see this:

If I start SW using the code above I see this:

I really need the two to be identical.  Any thoughts?

Jim S.

SolidworksApi macros