I am trying to create a new PITime object to be able to pass it to the PIData.TimedValues in an array. I am getting the following error:
1>.\PIAgent.cpp(852) : error C2079: 'ptf' uses undefined struct 'PITime'
from the line of code: PITime ptf = new PITime();
Has anyone used this or have a sample to look at.