Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DssEnvironment

3 views
Skip to first unread message

Bijens@discussions.microsoft.com Nick Bijens

unread,
Jan 25, 2007, 11:46:03 AM1/25/07
to
Hi,
I use DssEnvironment in a simple Windows Forms application. I call the
Initialize method from inside the form constructor.

public Form1()
{
InitializeComponent();
DssEnvironment.Initialize(50000, 50001,@"C:\Microsoft Robotics
Studio (1.0)\samples\Config\ELog.manifest.xml");
}

The service seems to start but the form does not appear. What am I doing
wrong?

Thx,

Andreas Ulbrich [MSFT]

unread,
Jan 25, 2007, 8:19:29 PM1/25/07
to
Hi,

there is currently an issue with the way DSS figures where it runs so that
it can load services. However, there is a simple workaround. Copy your
program to the bin directory of the MSRS installation (i.e. c:\Microsoft
Robotics Studio (1.0)\bin) and run it from there.

We are working on a fix for this issue.

Thanks,

Andreas


"Nick Bijens" <Nick Bij...@discussions.microsoft.com> wrote in message
news:B2811A43-A743-4166...@microsoft.com...

Bijens@discussions.microsoft.com Nick Bijens

unread,
Jan 26, 2007, 3:27:00 AM1/26/07
to
Thanks Andreas! This indeed works. Notice that I also had to copy my service
proxy dll to the bin directory. Now, my service gets started whenever the
form appears.

Nick

jpe

unread,
Aug 14, 2007, 7:40:00 PM8/14/07
to

"Andreas Ulbrich [MSFT]" wrote:

> Hi,
>
> there is currently an issue with the way DSS figures where it runs so that
> it can load services. However, there is a simple workaround. Copy your
> program to the bin directory of the MSRS installation (i.e. c:\Microsoft
> Robotics Studio (1.0)\bin) and run it from there.
>
> We are working on a fix for this issue.

One easy alternative fix in Robotics Studio 1.5 is to add a reference to the
DSSRuntime.Transform.dll that is found in the c:\Microsoft Robotics Studio
(1.5)\bin directory.

J.

0 new messages