I've done the compiler-as-dll thing for the Digital Mars IDE. It has some problems, though. The biggest is it's another executable to test, doubling the testing process. It could be done as one executable by making a shell that calls the dll, but those are just inconvenient, harder to debug, and there's the old "dll hell" with versions.

Instead, what you can do is simply dude up command line arguments, spawn the command line compiler, and collect the result.

Reply via email to