Trying to find a btree library that works with pli-86

Sofar I haven’t been succesful finding a working library that can work with pli-86. I found several libraries in C but I am experiencing difficulty in having a C function talk to PLI-86. DR passes complex parameters (> 8 bits) by creating an array of pointers. Each pointer points to the actual variable. Register BX points to the Array. This seems different to the way i.e. Microsoft does it. Also Microsoft (C compilers 3, 4 and 5) create _TEXT segments while DR creates CODE segments.
Somehow I fixed this over 35 years ago. Now I am a bit lost :frowning: So you can imagine some help would be appreciated.