How can I get the position of the servo with Micro Maestro?

Thank you very much for the help. I use libusb because I saw it in an example of this forum:

The problem with the example in the SDK is that it is managed code and I need it to be unmanaged so I have to write my orders to the USB port. When I use the usb_control_msg(dev, 0xC0, REQUEST_GET_VARIABLES, 0, 0, aux,BUF_SIZE, 5000) the info I got is stored in a char * aux and I don’t know how to take that info to use it.

I know that the controller can’t know the position of the servos but it knows where it is commanding the servo to go and, if it has already arrived to that postion, it holds it. When I work with the code provided in the SDK I have not problem to get that position which is in ServoStatus but it is written in C# and I need it in C++.

Thank you very much again and I will notice you if I have success with this.