Search found 3 matches

by calques3d
Tue Nov 13, 2007 8:32 am
Forum: Developer's Forum for Windows
Topic: Is ISimpleDevice::GetIsConnected() working?
Replies: 5
Views: 11935

jwick, sorry, I should have been more explicit. Yes, you are right, I was trying to find out if an existing device has been disconnected or not (not a fundamental issue, just a high-level check for stopping/suspending the timer and avoiding propagating unnecessary messages - I can do that other ways...
by calques3d
Mon Nov 12, 2007 1:56 pm
Forum: Developer's Forum for Windows
Topic: Is ISimpleDevice::GetIsConnected() working?
Replies: 5
Views: 11935

Hi calques3d, IsConnected() is only associated with the calls to Connect() and Disconnect() methods, not with a physical bit of hardware, nor with 3dxware. The best method to find out if you do not have a device attached is to check what type of device is being serviced by using _p3DxDevice.get_Typ...
by calques3d
Sat Nov 10, 2007 11:44 am
Forum: Developer's Forum for Windows
Topic: Is ISimpleDevice::GetIsConnected() working?
Replies: 5
Views: 11935

Is ISimpleDevice::GetIsConnected() working?

Hi all, I'm trying to determine if a 3d device is connected to the computer (mine is a SpaceNavigator PE) but it looks like that the GetIsConnected() method always return TRUE, even if you remove the USB or even stop the driver. Here is the code I'm using: ISimpleDevicePtr _p3DxDevice; HRESULT hr = ...