A varable managed element from a managed framework

I need help creating a member variable for the managed structure's managed class ... I tried to fix this, but the error didn't go away until I made the class unmanaged by removing the "ref". you can see this picture to see the class and structure http://tinypic.com/view.php?pic=149mgie&s=8

public ref struct RectResult
{
    int x;
    int y;
    int width;
    int height;
};

public ref  class GullotinePackedBin
{
private:
    int width;
    int height;
    vector<RectResult> packedRectangles;
}

      

0


source to share





All Articles