Tip #4 : Conditional Compilation Symbols
[Conditional("condition1")]
public void Foo()
{
...
}
But I found some limitations for it:
1, can not apply to interface functions;
2, the return type of functions MUST be void.
Tip #3 : In MFC projects, use "Call Browser". You can see it in right click popup menu.
Tip #2 : enable mixed mode debug. When you call managed functions from un-managed world. You may found the managed codes sample can NOT be loaded. Here is the trick to enable the load.
Tip #1 : use "ctrl + i" to search. after press the two keys, you can see a telescope shown on the screen, then type the word you want to search. Some time this is more convenient than "ctrl + f".
1 条评论:
Great! Blogger comes back again!
发表评论