编译出错如下
4.切换到 solution 视图 删除 cwgraph1.h 和相应的 cpp 文件
同时在工程的****dlg.h 中修改如下(红色为新添加的头文件)
//#include "cwgraph1.h"
#include "NiGraph.h"
修改 m_graph 类的类型,
//CCwgraph1 m_graph;
CNiGraph m_graph;
5.在 stdfax.h 头文件中添加包含#include "NiIncludes.h";
同时拷贝该文件到自己工程目录的文件夹下 该文件在我的机器上地址为
C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2005\VCNET\Examples\UI\Graph\Graph Example
在安装目录下,这个地址因不同机器而异。
6.Build 仍会报错如下:
- 1
- 2
- 3
- 4
- 5
- 6
前往页