Hi all,

I searched the web for error: c3867 and most discussion were murky or obscure.
My code excerpt is:

#pragma once
#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 );
// Blah Blah Blah….
}

void PutUpfrmIO(void *param)
{
// Blah Blah Blah….
}
};
}

I get the generic error message:

error C3867: 'WordParsor::Form1::PutUpfrmIO': function call missing argument list; use '&WordParsor::Form1::PutUpfrmIO' to create a pointer to member; and the suggested fix just causes a new error.

One person suggested using the gcroot<> class, but I do not know how to declare the function or its arguments.

I do not know if it matters, but the calling function thread is within the parent class.

If you can specify a simple illustration, I would greatly appreciate that.

King