I'm trying to access the elements of a variable of type StraightEdgeReport*. in IMAQ vision with VC++ 6.0 like this: Edge = imaqFindEdge(procSearchImg, patternRect, endEdgeDir, &edgeOptions, NULL);
float startX = Edge.start.x;
But I get compiler error error C2228: left of '.start' must have class/struct/union type
I know that the imaqFindEdge worked correctly in debug mode. I am kind of new at programming so I need some help on this. Thanks.