On MSDN there is an [example in C++ on how to create Dynamic virtual channel plugin](http://msdn.microsoft.com/en-us/library/windows/desktop/bb540854%28v=vs.85%29.aspx).

My problem is that I don't know how to compile it.

Do I need to create an ATL project and in `main.cpp` copy-and-paste the code found on msdn? What do I call the project? If I create ATL project with name `DVCPlugin`, than Visual studio 2008 automatically creates `DVCPlugin_i.h file`, otherwise I don't have that file.

`tsvirtualchannels.h` is part of Windows 7 SDK so at least with that include I don't have a problem.

One of the errors I am getting is this:

> 
> `&CLSID_DVCSamplePlugin` not recognized identifier
> 
> 
> 

I tried to create ATL project with the name `DVCSamplePlugin` but I received the same message as above.

Any suggestions I need to do to be able to compile that source code?