Hi, @Caua Cabral
Do you need C++CLR?
You could install C++CLI support in Visual Studio Installer.
Create a CLR empty project (.Net Framework) and add new item -> CLR Winform.
Add code in .cpp to run form:
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
int main(array < String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(0);
//Project1 Namespace in MyForm.h
Project1::MyForm form;
Application::Run(% form);
}
Here is the document: .NET programming with C++/CLI
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.