AnsweredAssumed Answered

How to handle not having enough open licenses?

Question asked by Tyler Johnson on May 4, 2015

I'm running a custom conversion task through EPDM that opens Solidworks.


I'm trying to come up with a solution for when the program encounters the "could not obtain license" pop up.  Which leads to a CO_E_SERVER_EXEC_FAILURE error after the New operator ( hangs the program for about 30 seconds.


Ideally I'd like for the program to monitor the license situation then run when a license frees up.  At minimum I just need to know how I can determine that an instance of solidworks hit the license popup and what I can do about it.


The provided SWTaskAddin for EPDM seems to be able to do this, I'd like to figure out how.