thank you for the replies!
i thought the way of “carrotSnack” would be the easiest, so i tried his way.
i had to modify “protocol.h” like this:
typedef unsigned int u32;
typedef unsigned short int u16;
typedef unsigned char u8;
typedef signed short int s16;
enum jrkCommand
{
COMMAND_GET_VARIABLE = 0x80, BITMASK_FOR_COMMAND_GET_VARIABLE = 0xC0,
COMMAND_GET_STATUS_FLAGS_HALTING = 0xA0+19,
COMMAND_GET_STATUS_FLAGS_OCCURRED = 0xA0+21,
COMMAND_SET_TARGET = 0xC0, BITMASK_FOR_COMMAND_SET_TARGET = 0xE0,
COMMAND_SET_TARGET_LOW_RES_REVERSE = 0xE0,
COMMAND_SET_TARGET_LOW_RES_FORWARD = 0xE1,
COMMAND_MOTOR_OFF = 0xFF,
};
as Visual Studio 2010 C++ can’t compile the binary 0b10000000 etc. so i changed it to HEX.
i included the libusb (the windows version) and used the code you postet here [libusb] linux/windows set position with unmanaged C++ with the change from (ushort) to (unsigned short).
But my servos don’t move
i changed my controller to USB Dual Port with the Maestro controll center, but theres no reaction when i use my C++ programm oÔ
what values does Position accept? i tried the values of the controll center (1000-2000)
EDIT: i’m sure that the mini maestro 12-Channel usb servo controller gets the command, as everytime i use “setTarget(Position,Servo)” the green LED flashes one time. I also tryied the values from usccmd (4000-8000) -> no reaction just a flashing LED.
EDIT2: now i did the same over Serial-Port
i send the Bytes 0x84, 0x02, 0x70, 0x2E (from the Documentation) to the controller(in my Case COM3 with Baudrate 9600), but again the Green LED just flashes one Time and the Servo does not move
There’s also no error 
