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   |
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 265 times)
[Updated on: Sun, 09 December 2012 01:38] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 30 00:31:32 CEST 2025
Total time taken to generate the page: 0.00767 seconds
|