Sign in to follow this  

No effect?

This topic is 4299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get the following error: DI_NOEFFECT The operation had no effect. This value is equal to the S_FALSE standard Component Object Model (COM) return value. On this code:
		returnValue = this->pDevice->GetDeviceData (sizeof(DIDEVICEOBJECTDATA), pBuffer, &this->CurrentObjectsAmount, 0); // <=Error return value
		if (returnValue == DIERR_INPUTLOST || returnValue == DIERR_NOTACQUIRED)
		{
			this->Acquire();
			GlobalErrorWrap::HandleDirectInputError (this->pDevice->GetDeviceData (sizeof(DIDEVICEOBJECTDATA), pBuffer, &this->CurrentObjectsAmount, 0));
		}
		else
			GlobalErrorWrap::HandleDirectInputError (returnValue);
What does this error means? It happend after I return from an Alt-Tab. Althoug upon restore I do acquire before reaching this method again. Should I just ignore this error or try to acquire the device? Thanks in advance.

Share this post


Link to post
Share on other sites

This topic is 4299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this