This method's structure is:
Code: Select all
HRESULT CreateMaterialTemplate ( [in] BSTR materialTemplateName,[out,retval] IDispatch * * MaterialTemplate );
As we all know, the "ICapeThermoMaterialTemplate" belongs to Thermo 1.0. So, when I use the CreateMaterialTemplate of ICapeMaterialTemplateSystem with Thermo 1.1, what shoud I do?
Is it rational to return "ICapeThermoPropertyPackageManager" from CreateMaterialTemplate when cooperated with Thermo 1.1?