?
Ich schreibe mal die Originalen codes
#include "include.h"
namespace EngineNamespace
{
class TNG
{
public:
static __declspec(dllexport) void Login(char username[1024],char passwort[1024],char Resultat[1024]);
static __declspec(dllexport) void EinstellungenConsole();
static __declspec(dllexport) void Vietcong_connect(char ip[1024],char port[1024],char passwort[1024]);
static __declspec(dllexport) void Vietcong_serverquery(char Resultat[1024]);
static __declspec(dllexport) void Vietcong_befehl(char Resultat[1024]);
static __declspec(dllexport) void Vietcong2_connect(char ip[1024],char port[1024],char passwort[1024]);
static __declspec(dllexport) void Vietcong2_serverquery(char Resultat[1024]);
static __declspec(dllexport) void Vietcong2_befehl(char Resultat[1024]);
static __declspec(dllexport) void Vietcong3_connect(char ip[1024],char port[1024],char passwort[1024]);
static __declspec(dllexport) void Vietcong3_serverquery(char Resultat[1024]);
static __declspec(dllexport) void Vietcong3_befehl(char Resultat[1024]);
static __declspec(dllexport) void chat_connect(char ip[1024],char port[1024],char Name[1024]);
static __declspec(dllexport) void chat_sendChat(char TextSend[1024],char TextRecv[1024]);
static __declspec(dllexport) void Programm_FileCheck(); //Fertig, Bei neuen Dateien, ein Update in dieser Funktion machen
static __declspec(dllexport) void Prorgamm_Zitate(); //Fertig
static __declspec(dllexport) void Prorgamm_updater(); //Fertig
static __declspec(dllexport) void Playsound(char track[1024],int OnOff);//Fertig
};
}
Nur die Zitate nehm ich raus ^^
#include "Funktion.h"
#include "LaungeGeman.h"
#include "include.h"
namespace EngineNamespace
{
__declspec(dllexport) void TNG::Prorgamm_Zitate()
{
string Text[21];
//////Zitate Gelöscht /////////
int zahl = 0;
while(20 > zahl)
{
string message = Text[++zahl];
if(MessageBoxA(NULL,message.c_str(),"Zitate",MB_ICONINFORMATION|MB_OKCANCEL) == IDOK)
{
cout << zahl << endl;
}
else
{
zahl = 20;
}
}
}
}