Hi!
I have written a C+±plugin for SketchUp using SWIG. The SketchUp-plugin is used as renderer for some data provided by another dll that contains my application’s core implementation. Everything works fine so far.
Now I try to come up with a (Windows) Dialog independently from the SketchUp-UI to control my application core while I visualize my stuff in SketchUp. I’ve chosen Qt as UI-Framework.
So I added the dependencies to Qt to the plugin-dll but as soon as I start SketchUp with my plugin and the Qt5Core.dll is loaded I get the following exception:
Exception thrown at 0x000000006499EA70 (x64-msvcrt-ruby220.dll) in SketchUp.exe: 0xC0000005: Access violation reading location 0x0000000000000008.
All I added in my plugin was a single QString instantiation to provoke the dll-loading.
I’m developing on VS 2015 and I use Qt 5.7 and SketchUp 2017 with Ruby 2.2.
Is there a general incompatibility between Ruby and Qt or am I simply missing something? I am very thankful for any hint…