dc++projectsmonidll1dll1dllmaincpp85 error C2039 SetDeviceState 不是IDirectInputDevice8W的成员1cprogram files x86windows kits10include100177630umdinputh1914 note 参见IDirectInputDevice8W的声明
这个错误意味着在你的代码中使用了“SetDeviceState”函数,但是它不是“IDirectInputDevice8W”接口的成员,这是因为该函数可能已经被删除或更改了。
你需要查看一下“IDirectInputDevice8W”的声明,看看是否存在“SetDeviceState”函数,如果不存在,你需要使用其他函数来完成相同的功能。如果该函数已经被删除,你需要考虑使用其他方法来实现你的目标。
原文地址: https://www.cveoy.top/t/topic/bG7L 著作权归作者所有。请勿转载和采集!