Hi, I'm Writing a C++ Class. I want to keep a global variable in System::Windows::Form::Control type or a .NET managed objects. I want to process somethink on this global variable. But Visual C++ is not allowed this.
Returning Error is: "global or static variable may not have managed type"
May be this error interest Garbage Collector.
How I solve this problem?