I was wondering how I'd Execute my network code during the form is running because if I put it in the comment area where it says "Code To Execute here" it will run AFTER the form exists but not DURING when it's running.
#include "Mouse.h"
#include <SFML\System.hpp>
#include <SFML\Network.hpp>
#include <SFML\Audio.hpp>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <Windows.h>
using namespace std;
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
int main(array<String^>^ arg) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Administration::Mouse form;
Application::Run(%form)
/* code i wanted to execute goes here */
}
Thanks in Advance
Aucun commentaire:
Enregistrer un commentaire