Home » Community » Newbie corner » Convert M$VC console app to U++
Convert M$VC console app to U++ [message #38194] |
Wed, 05 December 2012 14:32  |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I have a small console app done in M$VC.
Can it be converted to U++ ?
Errors with these 5 lines:
#using <System.dll>
using namespace System;
using namespace System::IO::Ports;
using namespace System::Threading;
using namespace System::IO;
#using <System.dll>
managed targeted code requires a '/clr' option
Commenting that line the other 4:
C:\MyApps\Ccheck\Ccheck.cpp(8) : error C2871: 'System' : a namespace with this name does not exist
C:\MyApps\Ccheck\Ccheck.cpp(9) : error C2653: 'System' : is not a class or namespace name
C:\MyApps\Ccheck\Ccheck.cpp(9) : error C2871: 'Ports' : a namespace with this name does not exist
C:\MyApps\Ccheck\Ccheck.cpp(10) : error C2653: 'System' : is not a class or namespace name
C:\MyApps\Ccheck\Ccheck.cpp(10) : error C2871: 'Threading' : a namespace with this name does not exist
C:\MyApps\Ccheck\Ccheck.cpp(11) : error C2653: 'System' : is not a class or namespace name
C:\MyApps\Ccheck\Ccheck.cpp(11) : error C2871: 'IO' : a namespace with this name does not exist
This app just checks the Comm Ports for GPS receivers.
Here is a link to the U++ Ccheck package and also COMcheck_2.exe
<a href="http://www.nlneilson.com/apps/COMcheck_2.zip" target="_blank"></a>
[Updated on: Wed, 05 December 2012 14:42] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Apr 29 20:03:26 CEST 2025
Total time taken to generate the page: 0.01712 seconds
|