Create support DLL using PowerBasic?

Was (and still am) very interested in using C# libraries with Xojo. @eugenedakin was able to successfully get a C# dll to work with Xojo on Windows, but so far nobody has been able to get one to work with MacOS. It’s a bit above my skill level to understand how to trace/troubleshoot the communication between Xojo and a dll, but I would love to know more about how the communication works and how to “listen” to the communication so that one might be able to determine what the issue might be.