Post by Chris Iverson on Jul 8, 2018 20:58:39 GMT -5
Are you able to provide any more information on what you're trying to do with WSO?
I can only find one reference to a wso.dll that seems to fit - this one - and I don't know what feature it has that you're trying to use. LB has built-in GUI capabilities that would be far easier to use than trying to use an external DLL, and from the looks of it, the DLL requires COM/ActiveX to use it, making it even harder to do from raw LB.
As for your second question, put simply, no. LB is not a multi-threaded application, and the LB runtime code is not re-entrant. If you do anything that can cause LB code to start executing somewhere it wasn't previously, you will crash.
You would need to either package the multicore code into a separate component, like a DLL, and call THAT from LB, being careful to not interact with LB across different threads, or you would need to just run multiple copies of your program, and have them communicate via some form of IPC.
We have been shown how to use one or two COM objects but they usually involve some sort of trick or compromise. So I think you are probably on the wrong forum. Other languages may make it far easier to work with this .dll