Are you using Measurement Studio for Visual C++ or are you using the wrappers that MFC automatically generates for CWGraph? If it's the former, CNiPicture is in the Common component, so every project that uses the Measurement Studio libraries for Visual C++ should have access to this class. If it's the latter, you may want to look into using the Measurement Studio libraries for Visual C++ since they were designed to be used natively in C++. If you don't want to change your code, though, you should be able to use the CPicture class and GetHandle() methods that you were using before instead of CNiPicture and the Handle property that were used in the example above.
CopyEnyMetaFile is a Win32 GDI function that's been around since Windows 95. Y
ou should be able to use it as long as you've #include'd windows.h and are linking to gdi32.lib.
- Elton