The problem isn't the compiling of the code at runtime, but linking it with the current running code.
A dll could be linked at runtime (thats where its name came from), but it will be hard to control your code from an dll.

Another way would be a two processes that uses inter-process communication (dunno if Windows is good with this, but I really like the message generator of Mach) but this has incredible performance penalties because you need to switch the context (process -> kernel -> process) far too often for this (this is btw the reason why we still have monolithic kernels like Linux and no micro kernels like Mach).


About the editor: Could you please change the skin. I really like LBGUI, but the skin is awful.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com