Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
nlneilson is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Final Compilation for Windows. How to create the .exe 101
Next Topic: Connecting to PostgreSQL DB without reference file
Goto Forum:
  


Current Time: Tue Apr 30 20:15:25 CEST 2024

Total time taken to generate the page: 0.01496 seconds