Home Forums Software Development Setting up 4C trouble Reply To: Setting up 4C trouble

Grant [Tobii]

Hi @milesb, @smatt989, indeed the code on the getting started page needs to be updated, apologies for the inconvenience.

With reference to running a basic console application, the following updated code should work.

using Tobii.Interaction;

// ...

static void Main(string[] args)
      var host = new Host();
      var gazePointDataStream = host.Streams.CreateGazePointDataStream();
      gazePointDataStream.GazePoint((x, y, time) => Console.WriteLine("X:{0} Y:{1}", x, y));

// ...

Please let us know how you get on with this sample.