I think and hope that keeps us young & alert longer, keeping the brain busy is said to be good!!
A bit OT but I cannot resist in the beginning of a new great day. In the early 90's, we developed a client/server solution for OS/2 in Smalltalk. It became pretty impressive as we also developed our own OO database. When a client was typing something on the keyboard, all other clients saw it instantly if they where looking at the same screen. This functionality was implemented by intention but it was according to my developers pretty easy to do. Today you see the same feature in Google Docs when you share a document. But we did this already 30 years ago and I'm still waiting for this to be possible with Microsoft Word and Excel, why do they not see the value in such feature? Anyway the thing we did worked fine technically but did not fly commercially, it was killed, all customers suddenly required Windows only
Back to the topic just to climate compensate my OT exercise a bit; yes to the question about the dll, an alternative way, if too complicated with node.js, I have have done that multiple times in Python. Then adding MQTT and suitable features, you are done, a little python server/service. The key is just to find the entry points in the dll but there are tools for such things