I believe the RDK installation actually installs the CFG binaries (Control-Flow-Graph.dll and Control-Flow-Graph-To-Deploy.Addin). They go under the c:\Documents and Settings\<user>\Application Data\Microsoft\MsEnvShared\Addins\. The addin may have to be enabled in VS first, under Tools->Add-In Manager.
Once you have that deployed, you can start a new project, I believe both C# and C++/CLI work with the CFG. Build the project, and then right click on a function in the class View. A View control-flow-graph menu option should appear at the top. CLick it and the CFG should appear in a new window.
Hmm,
What language are you trying to view the control flow graph in? I remember the DDE model in VS being a little flaky at times (very intolerant of small errors). Is there any way you can send me the project you're trying to view the CFG with?
Matt Mitchell wrote:
Hmm,
What language are you trying to view the control flow graph in? I remember the DDE model in VS being a little flaky at times (very intolerant of small errors). Is there any way you can send me the project you're trying to view the CFG with?
Thanks for your reply. What is your email address?