C++ window form tital and UI not displaying
Tris Yang
1
Reputation point
I have create a window form in visual studio 2013 community 2013 and the following code in the MyForm.h:
include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void main(array<String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Project2::Form frm;
Application::Run(%frm);
}
but when I run it, it shows:
I've also named entry point and the subsystem in project and added some elements to the form, but it still doesn't show anything :(
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,968 questions
Sign in to answer