I've come across some problems. To be more precise, my DLL does nothing. And since it's a DLL, not an executable file, nor the LOTUS has anything to test the plugins, I don't really know what the problem might be.
Here are my files I compiled the dll from:
I don't get any more errors about the code (I'm using Free Pascal Compiler), but I don't know whether the serial connection works at least, or the game itself sees the plugin itself. I placed these (as well as the compiled DLL file) in LOTUS\Plugins. Is there any spectacular error I made that I don't see?