The following line of code won't compile (I copied it from MSDN)
myMetafile = new Metafile(L"MyDiskFile.emf", hdc);

I get this error:
error C2065 'myMetafile' : undeclared identifier

I've never declared anything with new before, so I don't have any ideas as to how to fix this.

Any ideas?