RickDeWater wrote:As the title says, the function CPhidget_getDeviceClass returns an error when there is no device attached.
the created handle should know what the DeviceClass is, even when there is no device attached.
Am I using the functions wrong, or is it supposed to work like this?
And if it is intended, is there a way for me to work around it?
Code: Select all
int deviceClass = ((struct _CPhidget *)device)->deviceID;
Users browsing this forum: No registered users and 3 guests