- 01/06/2015 at 11:38 #3030GreggParticipant
I have developed an interface in C starting from the sample code MinimalGazeDataStream given in the tobii eyeX SDKs.
Now, for integrating purposes with another code, I’m asked to translate my code in c#.
Do you have any suggestions on how to go about it? Are there sample codes written in c#?
Thank you all for your help.
Gregg01/06/2015 at 13:27 #3033Jenny [Tobii]Participant
I suggest you use the EyeX SDK for .NET and check out the corresponding MinimalGazeDataStream sample. The sample uses EyeX Framework for .Net which is included as source code in the SDK (and sample solution). The EyeX Framework makes integrating with the EyeX C API much easier, with a dedicated .NET language binding and ready made features following the paradigms of the .NET Framework, including integrations into WinForms and WPF.01/06/2015 at 15:35 #3037GreggParticipant
Thanks for the advice!
I created my new solution file and added the necessary references (dlls) starting from a sample code I found (minimalGazeDataStream). From there I managed to get an implementation of the sample code to build without errors, but the executable closes itself immediately without any keys being pressed.
Do you know what the error might be?08/06/2015 at 17:26 #3085Jenny [Tobii]Participant
I assume then that it is a console application you have built with the MinimalGazeDataStream as an example? And the Main-method has a
Console.ReadKey(true);entry that waits for a key press?
You could try running the sample by using Ctrl + F5 which forces the console window to stay open after the application has finished running, and see if there are any errors reported to the console output.
- You must be logged in to reply to this topic.