DavisGentry
June 15th, 2006, 11:06 AM
I've been trying for a while now to get simple ASCII serial comms running in a managed VC++ .Net 2003 application. I've added the MSCOMMLib reference with no problem - can set most of my properties and open the port, but all of the examples I've seen use the VARIANT or COleVariant class which is defined in MFC apps - but in this rev of the compiler these classes are unrecognized.
Any ideas? Or sample code which will compile as a VC++ .NET managed c++ .exe application - no ATL or MFC use.
Any ideas? Or sample code which will compile as a VC++ .NET managed c++ .exe application - no ATL or MFC use.