I tried it finally today. Here are some results:
- replacing Pd's libwinpthread-1.dll with Gem's does work. I didn't spend enough time to see if something else in Pd has gone wrong due to that.
- When I open my patch, the Visual C++ Runtime crashes. The solution seems to be to replace [declare -stdlib Gem] with -stdpath Gem. Which is weird, because Gem.dll isn't being loaded anymore (no mention to it in the console), but the objects all open with no issues. The same happens when opening any Gem help patch, although the library isn't being loaded, all objects work.
This change doesn't work in the 64b version, though (which is irrelevant for now, as [leapmotion] isn't compiled for it yet.)
Best,
Joao