Hi @rasa, sorry to hear about your issues.
We have an extensive set of sample programs included with the Tobii Core SDK which you can download @ https://github.com/Tobii/CoreSDK
I would recommend you try to run of these to get an idea of the proper syntax to get up and running.
Alternatively, we have published a getting started guide to write your own program from scratch @ https://tobii.github.io/CoreSDK/articles/getting_started.html
Please kindly go through these and let us know if we can be of any further assistance.