I got it... it works like a charm!
I created the code to be executed by the run-time compiler, and just made it into an embedded resource. At run-time, I extract the text from the embedded file, do a search & replace to change the path of the DLL file, compile it, and run my function. Works...