Using K8062D.dll in .net

Hi Guys,

2 questions

I am trying to use the K8062D.dll in a visual studio ASP.Net C# web application. The DMX box is attached to a snow machine. I would like a use to be able to come to the web site and pressing a button will start the web site. Simple.

I have this working on my windows XP machine. However there seems to be a timelag between me pressing the button and the snow machine turning on.

  1. Will this software work on a Windows 2003 server?

  2. If it does, how do I use the code to immediately activate the snow machine?

On the button click I’m currently using

protected void btnStart_Click(object sender, EventArgs e)
{
StartDevice();
SetChannelCount(1);
SetData(1, -1);
}

however this is a trial and error sample

Thanks
M