Home Forums Software Development Using Stream Engine for DirectX c++ app

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20370
    Jamie Steele
    Participant

    Hey guys, I created the console app starter project that is posted in the stream engine “getting started” section, and it works fine in a console app, but I am trying to make a C++ directX app and the syntax no longer works for these two callback functions

    tobii_enumerate_local_device_urls(api, url_receiver, url);
    tobii_gaze_point_subscribe(device, gaze_point_callback, 0);

    if anyone knows a solution for this please let me know as I am really struggling to wrap my head around this
    Thanks in advance

    #20371
    Jamie Steele
    Participant

    Ok so I have fixed the problem with function pointers by making the class functions static, all I need now is to be able to access the gaze point outside of these functions, which is difficult to do when they are static. Any tips?

    #20372
    Jamie Steele
    Participant

    Ok, I have actually managed to fix these issues, it turns out I was not initialising the static variables correctly. Now I can access the gaze point anywhere in the program

    #20378
    Grant [Tobii]
    Keymaster

    Hi @redstripekhan, thanks for letting us know you managed to resolve the issue. Do let us know if you think we can provide any further assistance. Best Wishes.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.