Hallo Forum,
ich möchte von einer ref Class auf eine Funktion in einer Header Datei zugreifen dabei bekomme ich folgende Fehlermeldung mit der ich gar nichts anfangen kann.
Der Codeteil:
Form1.h
#include "GameCtl.h"
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
lbox_What->Items->Insert(0, "Nord");
lbox_What->Items->Insert(1, "Ost");
lbox_Action->Items->Add("gehe nach");
lbox_Action->Items->Add("untersuche");
N_Ctl::handleField(5); <---- Aufruf
...
GameCtl.h
namespace N_Ctl {
void handleField(intu const fieldNr) { <---- Funktion
//N_Form1::Form1.test(3);
// Indexposition des Feldes holen
// Feld einlesen und bearbeiten
} /// end func openField