Hi Roland,
LibraryPath is currently 'baked' at compile time, (or JIT time). You can only use a literal path name.
It is certainly possible to use late-binding techniques for any dll, using LoadLibrary / GetProcAddress etc.
You will find an example in ProjectsC\thinBasicOxygen which has the source code for the thinBasic modular interface.
But your simplest option is to compile the IDE as an oxygen-dependent binary and drop a copy into the OxygenBasic folder. Then create a shortcut for it, should you wish to run it from the desktop, for example.
For an independent system, as an alternative to the standard OxygenBasic environment, you will need to include oxygen.dll, sciLexer.dll and co2.exe (or gxo2.exe)