Click to See Complete Forum and Search --> : Runtime error


benshrupendra
July 19th, 2010, 07:20 AM
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

Skizmo
July 19th, 2010, 07:25 AM
Please help me to solve it
Your code is managed C++, not native C++. Try asking your question here (http://www.codeguru.com/forum/forumdisplay.php?f=17).

cilu
July 19th, 2010, 07:27 AM
[ redirected ]