Home › Forums › Software Development › MSB3073 exited with code 1 error › Reply To: MSB3073 exited with code 1 error
09/11/2016 at 02:47 #5917
injo Kang
Participant
Hi Grant ! Thx for ur help!
And then I got another problem.
I want to print “Success” if Tobii is connected to my C++ file.
But it always prints “Fail”.
How can I solve this?
#include “stdafx.h”
#include <eyex\EyeX.h>
#include <iostream>
#pragma comment (lib, “Tobii.EyeX.Client.lib”)
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
if (TX_RESULT_OK != txInitializeEyeX(TX_EYEXCOMPONENTOVERRIDEFLAG_NONE, NULL, NULL, NULL, NULL))
{
cout << “Success” << endl;
return -1;
}
cout << “Fail” << endl;
return 0;
}
Thank you