benshrupendra 0 Newbie Poster

I get runtime error when I run the application

Thread ^readThread = gcnew Thread(gcnew System::Threading::ThreadStart(this, &PipeServer::Read));

readThread->IsBackground = true;
readThread->Start(client);

The Error is:
The thread was created with a ThreadStart delegate that does not accept a parameter


Please help me to solve it,

Thanks in advance.

Regards,

Rupendra

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.