It's legal when your program uses the acknex.dll development version in the user's Gamestudio folder for compiling. It's illegal when a published DLL is used. The current runtime modules are able to compile, but at some point this won't be able anymore. We want to make the modules smaller and the compiler, among other parts needed only for development, will be removed from them.