Hi All,
I searched the web for error: C3867... and the discussions where murky or obscure.
My code excerpt is:
#pragma once
#include <windows.h>
#include <stdlib.h>
#include <process.h>
void PutUpfrmIO(void *);
namespace WordParsor {
using namespace System;
public ref class Form1 : public System::Windows::Forms::Form
{
// Blah Blah Blah...
System::Void Test_Click(System::Object^ sender, System::EventArgs^ e)
{
_beginthread( PutUpfrmIO, 0, NULL );
}
void PutUpfrmIO(void *param)
{
// Blah Blah Blah...
}
}
}
I get the generic message:
error C3867: 'WordParsor::Form1::PutUpfrmIO': function call missing argument list; use '&WordParsor::Form1::PutUpfrmIO' to create a pointer to member c:\users\king\c++\wordparsor\wordparsor\Form1.h... and the suggestion fix generate another error.
One person suggested the gcroot<> object wrapper... but I do not know how to modify/declair the function or its argument type.
Any simple suggestions?
King
I searched the web for error: C3867... and the discussions where murky or obscure.
My code excerpt is:
#pragma once
#include <windows.h>
#include <stdlib.h>
#include <process.h>
void PutUpfrmIO(void *);
namespace WordParsor {
using namespace System;
public ref class Form1 : public System::Windows::Forms::Form
{
// Blah Blah Blah...
System::Void Test_Click(System::Object^ sender, System::EventArgs^ e)
{
_beginthread( PutUpfrmIO, 0, NULL );
}
void PutUpfrmIO(void *param)
{
// Blah Blah Blah...
}
}
}
I get the generic message:
error C3867: 'WordParsor::Form1::PutUpfrmIO': function call missing argument list; use '&WordParsor::Form1::PutUpfrmIO' to create a pointer to member c:\users\king\c++\wordparsor\wordparsor\Form1.h... and the suggestion fix generate another error.
One person suggested the gcroot<> object wrapper... but I do not know how to modify/declair the function or its argument type.
Any simple suggestions?
King