AviiNL / bms-kneeboard-server

BMS-Kneeboard-Server is a tool that transforms Falcon BMS's briefing.txt into a HTML server that can be used in OpenKneeboard's new Web Dashboard tab, or, as a side effect of how it works, it can also be displayed on an external device such as a tablet.
2 stars 0 forks source link

Add named shared memory segment containing listen address #1

Open fredemmott opened 3 weeks ago

fredemmott commented 3 weeks ago

For example:

struct YourSHM {
  uint64_t structVersion { 1 };
  uint64_t serverPid;
  uint64_t addressLength;
  wchar_t address[MAX_PATH];
};

Either using wchar's with Windows wide encoding (which isn't quite UTF16), or explicitly-UTF8 chars (not the system code page).

As for the name, I'd suggest something like aviinl.github.io/bms-kneeboard-server/SHM/1, increasing:

This would allow:

The advantages of this over a file are:

fredemmott commented 3 weeks ago

A potential improvement would be to put these under OpenKneeboard/Plugins/ under a standardized format rather than per-app, and add a list in the registry.