Visual C++ 2008 express with PITime

Discussion created by jrlrwilson on Jul 24, 2009
Latest reply on Aug 4, 2009 by andreas

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.