So the main problem I'm having is I'm not sure how to organize my event loop, and make the CEF instance into a pure headless mode without having a display like the sample app. If someone can guide me on how to simply do that, I'd appreciate it.
I have a WinForms application in C++, and as such this is my main current file:
- Code: Select all
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void Main(array<String^>^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
XTurbo::MyForm form;
Application::Run(%form);
}
Where would I input the code for the CEF? If someone can guide me to start out, I'm sure I'll be fine with the actual details. Thanks in advance!