I tried this:
request.DeviceID = (long long int *)&(DeviceID);
request.ProdReqID = (long long int *)&(ProdReqID);
but when I do:
cout << "DEVICE ID: " << request.DeviceID << " " << request.ProdReqID << " " << endl;
cout << "DEVICE ID: " << &request.DeviceID << " " << &request.ProdReqID << " " << endl;
I get:
DEVICE ID: 0xfffa9bf0 0xfffa9bf4
DEVICE ID: 0xfffa9bd4 0xfffa9bd8
I really don’t know if this is working or not. I expected to see a print out of the actual numbers…
I fixed the issue by changing DeviceID and ProdReqID parameters from
inttoLONG64and then doing: