I run a license validation check for our extension when sketchup starts, which works great, except when someone opens sketchup by double clicking an skp in explorer and the skp is very large and kind of hangs up sketchup anyway. My validation request to the license server times out and the ruby console pops up and displays an error. I don’t want that to happen to users. I am trying to find a way to know that sketchup has completely started and is ready to go before I run my validation check. Does anyone know if there is a consistent reliable way to do that?
I agree fully with John. I’m too lazy to implement lazy loading general, but license checks that go over the internet can wait until the user actually interacts with the extension.
Windows platforms offer two potential problems to OpenSSL’s RAND_poll. First is a hang due to the heap walk, and second is Application Verifier failures due to use of Windows’ API call netstatget.