Hi, I'm trying to implement a serialport manager class as part of a very large project. The idea is the this manager class would be a controller for the Serial Port.
For some reason when i compile this code i'm given an error regarding managed vs unmanaged classes. "Error 1 error C3265: cannot declare a managed 'CurrentSerialPort_' in an unmanaged 'SerialPortManager'"
I could put ref keyword in but then that would mean i would be unable to include events(an extension of this class i wish to perform).