Hello everyone :
could it does just like the title?
i want to redirect output to a file just like "FlowGraph.txt";
so i add the follow code to the Execute method:
System.IO.TextWriter t = new System.IO.StreamWriter("FlowGraph.txt");
System.Console.SetOut(t);
i built the plug-in, it done.
but when i use the commod line just like "cl -d2plugin:FlowGraph.dll test.cpp"
it output the follow line to the console(not the file):
fatal error C1001:An internal error has occurred in the compiler.
(compiler file 'd:\enlistments\sdk_june08\src\clients\c2\c2-diagnostice.cpp',line 742)
Unhandled Exception
why ?? i think i did all the right thing!!