EViews COM Automation Server: Interface or COM?
Posted: Wed Feb 09, 2011 7:43 pm
EV7.1, Matlab R2010b, on 32bit XP
EViews COM Automation Server and Matlab as client, try the following Matlab code
note that in Matlab, ha is Interface.EViews_1.0_Type_Library.IApplication, and h is COM.Eviews_Application
both lines works.
I find that both h and ha have same methods, what are the differences then?
EViews COM Automation Server and Matlab as client, try the following Matlab code
Code: Select all
hm = actxserver('Eviews.Manager');
ha = hm.GetApplication;
h = actxGetRunningServer('Eviews.Application');
%ha : Interface.EViews_1.0_Type_Library.IApplication
%h : COM.Eviews_Application
Code: Select all
ha.Run('wfcreate u 4')
h.Run('wfcreate u 4')
I find that both h and ha have same methods, what are the differences then?