There is information that needs to be added to the project file in order to get this to work. The NI Measurement Studio AppWizard adds this information at the time that it creates the project. There is an add-in in Measurement Studio 6.0 that will add the appropriate information to existing projects, so the easiest way to fix this would be to upgrade to Measurement Studio 6.0 and use the Add/Remove Components Wizard. Otherwise, you will need to create a new project with the NI Measurement Studio AppWizard and move your source files to the new project to get this to work automatically. If that's too much work, you create a temp project with the NI Measurement Studio AppWizard, add a variable and look at how the member variable is added, how the
AFX_DATA_MAP is updated, etc., and make the changes manually in your project.
- Elton