crile Posted September 17, 2022 Share Posted September 17, 2022 FDwfEnumDeviceIsOpened returns true even after explicitly calling FDwfDeviceClose. Is FDwfDeviceClose supposed to close the device, or just invalidate the handle? If it does not close the device, what does? Thanks, Crile Link to comment Share on other sites More sharing options...
1 attila Posted September 19, 2022 Share Posted September 19, 2022 Hi @crile The device should be closed when calling the close function. Are you calling the enum function again when before the isopened one because the infos are collected during enum ? Device_Enumeration2.py Link to comment Share on other sites More sharing options...
0 crile Posted September 19, 2022 Author Share Posted September 19, 2022 Thanks. That was it - I did not know that the call to xxxIsOpened must be preceded by Enumerate. Would be nice if that wasn't necessary :). Link to comment Share on other sites More sharing options...
0 attila Posted September 20, 2022 Share Posted September 20, 2022 Hi @crile For uniformity all the device info is collected on enum function call. Link to comment Share on other sites More sharing options...
Question
crile
FDwfEnumDeviceIsOpened returns true even after explicitly calling FDwfDeviceClose.
Is FDwfDeviceClose supposed to close the device, or just invalidate the handle?
If it does not close the device, what does?
Thanks, Crile
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now