Following on kind of on topic:)
I gave up for now on the deployment of a Com Object (ActiveX) at around 2am. At 3am I had a fully working system using Robert Giesecke’s unmanaged exports (Thanks Gary!).
I did have a few problems with the classes having to be set as static but I got around that by having the externally visible classes set to static and then having these call my complex multi class internal routines. Happy to post code if anyone stumbles across this thread in the future and requires it. Just let me know.
So onto question 2:
I’m using soft declares to connect to my shiny new .dll. They work fine, but are not being released on app quit. If I try to build or run again, the app will not load unless I log out and back in again. Is there a way to force release the dll on app quit?
Question 3 is another curly one relating to thread safety. I’m hoping to call this dll from a few places in my program, but I’m finding that it isn’t thread safe and I’m getting unintended stuff happening. Do I need to make my dll thread safe of is there a way in Xojo to protect it? If I run two apps at the same time accessing the dll it works fine.
Thanks again guys. Hopefully this tread is adding some value to the body of knowledge. I know it’s been a steep learning curve for me!