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++
Re: Convert M$VC console app to U++ [message #38282 is a reply to message #38196] Sun, 09 December 2012 00:14 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I tried to add a main top window and an EditField.
Now it gives this error:
C:\MyApps\C3\main.cpp(32) : error C2872: 'String' : ambiguous symbol
        could be 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::String'
        or       'c:\upp\uppsrc\core\String.h(306) : Upp::String'


Another new app was created and the Ccheck.cpp code was pasted in.
There was a similar error with Thread until commented out
// using namespace System::Threading;

System::String^ Com; gets rid of the ambiguous error
Com is local here but may need to convert to Upp::String later.

Get this error now and no idea what is required.
Linking...
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
C:\upp\out\MyApps\MSC9.Clr.Gui.Mt\C3.exe : fatal error LNK1120: 1 unresolved externals

  • Attachment: C3.zip
    (Size: 3.02KB, Downloaded 227 times)

[Updated on: Sun, 09 December 2012 01:38]

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 May 21 19:38:03 CEST 2024

Total time taken to generate the page: 0.02007 seconds