Originally posted by Simplex Technology
View Post
Its not a real enumerator, meaning it doesn't go back to HS to get each item. When you make the call HS has to bundle up every device on the system and send it over as one big blob to the local client, which then hands them back one by one. HS having to create the blob is what is so expensive and why caching your device refs in your .ini (or other data file) and falling back to the enumerator is so important...
I am testing .499 right now, has some more locks around the enumeration creations. So far I think it has helped, but I am seeing a different error, can you tell me which API call is behind your FindDeviceById()? Oops, take that back, just got the same enumeration error..
Comment