Ok use the test project. It includes the source – then you should be able to build the way you want it. Why is it important that it is x64?
Also, is there a way to get sensor “change events” instead of polling the sensor data?
No the EV3 can not “send” an event when a sensor value changes – so polling is the only way.