EViews 7.1 COM/DCOM and windows service

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

patrice
Posts: 8
Joined: Tue Oct 12, 2010 2:10 am

EViews 7.1 COM/DCOM and windows service

Postby patrice » Fri Nov 19, 2010 8:05 am

Hello,

I have try to make a windows service which use Eviews to make calculation.

My code works very well, but if I launch many client at the same time (using this windows service), I have this message:
‘EViews is not licensed to allow more than one instance to run as a windows service. Please contact QMS to obtain authorization’

My question, is : is-there a particular license to run more than one instance in a windows service ? (I’m a bit confused, I thought that it was impossible, but the message seems to say ‘it’s possible with certain license’ ('Please contact QMS to obtain authorization'))

My version of EViews 7.1 (with patch of 11 novembre 2010)
Here my code:

Code: Select all

float[] data = {1, 2, 3, 4, 5};
object[,] eviewsResult = null;
EViews.Manager mgr = null;
EViews.Application app = null;
mgr = new EViews.Manager();
app = mgr.GetApplication(EViews.CreateType.ExistingOrNew);
app.Hide();

app.Run("create u " + data.Length);
app.PutSeries("x", data);
app.Run("series y=@mean(x)");
eviewsResult = (object[,])app.Get(outputSerieName);
app.Run("exit");
app = null;
mgr = null;
GC.Collect();

EViews Steve
EViews Developer
Posts: 799
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: EViews 7.1 COM/DCOM and windows service

Postby EViews Steve » Fri Nov 19, 2010 11:15 am

Hi patrice:

I just replied to your email. Please check that for my response.

Steve


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 35 guests