The compile button was greyed out so I changed Debug from Itanium to Win32. It allowed be to compile then. But it gave me this error:
fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
Apparently only the paid version of Visual C++ can compile this. That's what I read somewhere.
But I believe there is another way to get a tool bar probably because I have got a ColorDialog and OpenDialog in my program, which I didn't get from the samples.
Anyway it doesn't matter about the samples any more, i just need a tool bar.
Thanks,
Alex